From dd06df1ddc8302096e7c587281626f2db8b98242 Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Tue, 24 Sep 2024 10:19:51 +0900 Subject: [PATCH] Fix action bar commands (#946) --- src/components/appMenu/AppMenu.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/appMenu/AppMenu.vue b/src/components/appMenu/AppMenu.vue index a4bcc41fd..322bb9de2 100644 --- a/src/components/appMenu/AppMenu.vue +++ b/src/components/appMenu/AppMenu.vue @@ -65,7 +65,7 @@ icon="pi pi-times" severity="secondary" :disabled="!executingPrompt" - @click="commandStore.getCommand('Comfy.Interrupt')" + @click="() => commandStore.getCommand('Comfy.Interrupt')()" > @@ -73,19 +73,21 @@ v-tooltip.bottom="$t('menu.refresh')" icon="pi pi-refresh" severity="secondary" - @click="commandStore.getCommand('Comfy.RefreshNodeDefinitions')" + @click=" + () => commandStore.getCommand('Comfy.RefreshNodeDefinitions')() + " />