diff --git a/app/src/components/ConfigPanel.vue b/app/src/components/ConfigPanel.vue index 9ccb523a..52a191af 100644 --- a/app/src/components/ConfigPanel.vue +++ b/app/src/components/ConfigPanel.vue @@ -6,7 +6,7 @@ validation, serverError: panel.serverError, }" - @submit.prevent.stop="onApply" + @apply="onApply" :no-footer="!panel.hasApplyButton" > @@ -78,7 +78,7 @@ export default { onApply() { const panelId = this.panel.id - this.$emit('submit', { + this.$emit('apply', { id: panelId, form: this.forms[panelId], }) @@ -88,7 +88,7 @@ export default { const panelId = this.panel.id const actionFieldsKeys = Object.keys(actionFields) - this.$emit('submit', { + this.$emit('apply', { id: panelId, form: filterObject(this.forms[panelId], ([key]) => actionFieldsKeys.includes(key), diff --git a/app/src/components/ConfigPanels.vue b/app/src/components/ConfigPanels.vue index 1fd948d6..0ac19296 100644 --- a/app/src/components/ConfigPanels.vue +++ b/app/src/components/ConfigPanels.vue @@ -1,10 +1,11 @@