Fix action bar commands (#946)

This commit is contained in:
Chenlei Hu
2024-09-24 10:19:51 +09:00
parent 0d28c108d2
commit 1bc78a716e

View File

@@ -65,7 +65,7 @@
icon="pi pi-times"
severity="secondary"
:disabled="!executingPrompt"
@click="commandStore.getCommand('Comfy.Interrupt')"
@click="() => commandStore.getCommand('Comfy.Interrupt')()"
></Button>
<ButtonGroup>
@@ -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')()
"
/>
<Button
v-tooltip.bottom="$t('menu.clipspace')"
icon="pi pi-clipboard"
severity="secondary"
@click="commandStore.getCommand('Comfy.OpenClipspace')"
@click="() => commandStore.getCommand('Comfy.OpenClipspace')()"
/>
<Button
v-tooltip.bottom="$t('menu.resetView')"
icon="pi pi-expand"
severity="secondary"
@click="commandStore.getCommand('Comfy.ResetView')"
@click="() => commandStore.getCommand('Comfy.ResetView')()"
/>
</ButtonGroup>
</div>