From d97827bb302dd7ec988e6027a29b50c9ba55247f Mon Sep 17 00:00:00 2001 From: Peter Thomassen Date: Thu, 6 Jul 2023 01:28:23 +0200 Subject: [PATCH] fix(webapp): regression from edb578bbd4a9320165ae84bc9aaa9bccb998b97d --- www/webapp/src/views/CrudList.vue | 5 +++-- www/webapp/src/views/CrudListRecord.vue | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/www/webapp/src/views/CrudList.vue b/www/webapp/src/views/CrudList.vue index 591f2da4b..388cbac96 100644 --- a/www/webapp/src/views/CrudList.vue +++ b/www/webapp/src/views/CrudList.vue @@ -223,6 +223,7 @@ v-bind="attrs" v-on="on" :disabled="user.working || itemIsReadOnly(itemFieldProps.item)" + :class="'button-' + key" color="grey" icon @click.stop="action.go(itemFieldProps.item, $event)" @@ -446,7 +447,7 @@ export default { if (e.keyCode === 13) { // Submit document.activeElement.blur(); - e.target.closest('tr').querySelector('.mdi-content-save-edit').closest('button').click(); + e.target.closest('tr').querySelector('.button-save').click(); } }, handleRowClick: () => {}, @@ -710,7 +711,7 @@ export default { @keyframes successFade { from { background-color: forestgreen; } } - >>> tr.orange .mdi-content-save-edit, >>> tr.red .mdi-content-save-edit { + >>> tr.orange .button-save .v-icon, >>> tr.red .button-save .v-icon { color: forestgreen; } >>> tr:focus-within :focus { diff --git a/www/webapp/src/views/CrudListRecord.vue b/www/webapp/src/views/CrudListRecord.vue index 1d58ef3bd..6a5f14980 100644 --- a/www/webapp/src/views/CrudListRecord.vue +++ b/www/webapp/src/views/CrudListRecord.vue @@ -143,7 +143,7 @@ export default { @keyframes successFade { from { background-color: forestgreen; } } - >>> tr:focus-within .mdi-content-save-edit { + >>> tr:focus-within .button-save .v-icon { color: forestgreen; } >>> tr:focus-within :focus {