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 24, 2024
1 parent 128d40d commit dd06df1
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 dd06df1

Please sign in to comment.