From 9ec1fbd714bc6e220cfbdb50cc7d40a120738fb0 Mon Sep 17 00:00:00 2001 From: axolotle Date: Mon, 18 Mar 2024 18:24:00 +0100 Subject: [PATCH] fix: ConfigPanels event bubbling --- app/src/components/ConfigPanel.vue | 2 +- app/src/components/ConfigPanels.vue | 1 - app/src/components/RoutableTabs.vue | 6 +----- app/src/components/globals/AbstractForm.vue | 5 +++-- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/app/src/components/ConfigPanel.vue b/app/src/components/ConfigPanel.vue index 6220a608..4121ab61 100644 --- a/app/src/components/ConfigPanel.vue +++ b/app/src/components/ConfigPanel.vue @@ -6,7 +6,7 @@ validation, serverError: panel.serverError, }" - @apply="onApply" + @submit="onApply" :no-footer="!panel.hasApplyButton" > diff --git a/app/src/components/ConfigPanels.vue b/app/src/components/ConfigPanels.vue index b1869b31..82d6abda 100644 --- a/app/src/components/ConfigPanels.vue +++ b/app/src/components/ConfigPanels.vue @@ -5,7 +5,6 @@ v-if="routes_.length > 1" v-bind="{ panels, forms, v: v$, ...$attrs }" :routes="routes_" - @apply="$emit('apply', $event)" >