diff --git a/core/client/components/KDialog.vue b/core/client/components/KDialog.vue index 5484f90bd..a4ad31190 100644 --- a/core/client/components/KDialog.vue +++ b/core/client/components/KDialog.vue @@ -10,18 +10,18 @@ @@ -97,7 +97,7 @@ const computedButtons = computed(() => { const cancelButton = _.clone(props.cancelAction) if (cancelButton.handler) { cancelButton.handler = async () => { - // ! call the origonal handler to avoid recurcive call + // ! call the original handler to avoid recursive call const result = await callHandler(props.cancelAction.handler) // close dialog whatever the result of the handler onDialogCancel(result) @@ -141,9 +141,6 @@ const computedModel = computed({ emit('update:modelValue', value) } }) -const computedProps = computed(() => { - return _.omit(attrs, ['v-model']) -}) // Functions async function callHandler (handler) { diff --git a/core/client/mixins/mixin.base-item.js b/core/client/mixins/mixin.base-item.js index 7877d9777..4ced12d11 100644 --- a/core/client/mixins/mixin.base-item.js +++ b/core/client/mixins/mixin.base-item.js @@ -41,8 +41,11 @@ export const baseItem = { } }, watch: { + // Make configured actions reactive as item actions are built from + item: function () { + this.configureActions() + }, actions: function () { - // Make configured actions reactive as item actions are built from this.configureActions() } },