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')() + " />