Skip to content

Commit

Permalink
Fix action bar commands (#946)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei committed Sep 25, 2024
1 parent 571d130 commit 8223241
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/components/appMenu/AppMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,27 +65,29 @@
icon="pi pi-times"
severity="secondary"
:disabled="!executingPrompt"
@click="commandStore.getCommand('Comfy.Interrupt')"
@click="() => commandStore.getCommand('Comfy.Interrupt')()"
></Button>

<ButtonGroup>
<Button
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>
Expand Down

0 comments on commit 8223241

Please sign in to comment.