Skip to content

Commit

Permalink
Fix command invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei committed Sep 24, 2024
1 parent 2a9718c commit 0fcef8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/sidebar/tabs/WorkflowsSidebarTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@
icon="pi pi-th-large"
v-tooltip="$t('sideToolbar.browseTemplates')"
text
@click="commandStore.getCommand('Comfy.BrowseTemplates')"
@click="() => commandStore.getCommand('Comfy.BrowseTemplates')()"
/>
<Button
class="browse-workflows-button"
icon="pi pi-folder-open"
v-tooltip="'Browse for an image or exported workflow'"
text
@click="commandStore.getCommand('Comfy.OpenWorkflow')"
@click="() => commandStore.getCommand('Comfy.OpenWorkflow')()"
/>
<Button
class="new-default-workflow-button"
icon="pi pi-code"
v-tooltip="'Load default workflow'"
text
@click="commandStore.getCommand('Comfy.LoadDefaultWorkflow')"
@click="() => commandStore.getCommand('Comfy.LoadDefaultWorkflow')()"
/>
<Button
class="new-blank-workflow-button"
icon="pi pi-plus"
v-tooltip="'Create a new blank workflow'"
@click="commandStore.getCommand('Comfy.NewBlankWorkflow')"
@click="() => commandStore.getCommand('Comfy.NewBlankWorkflow')()"
text
/>
</template>
Expand Down

0 comments on commit 0fcef8e

Please sign in to comment.