Skip to content

Commit

Permalink
fix(webapp): regression from edb578b
Browse files Browse the repository at this point in the history
  • Loading branch information
peterthomassen committed Jul 5, 2023
1 parent dcb356e commit d97827b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions www/webapp/src/views/CrudList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down Expand Up @@ -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: () => {},
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion www/webapp/src/views/CrudListRecord.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d97827b

Please sign in to comment.