Remove new default workflow button in workflows sidebar (#1100)

This commit is contained in:
Chenlei Hu
2024-10-04 11:37:37 -04:00
committed by GitHub
parent e20126a254
commit 39d68bcdc4
4 changed files with 11 additions and 20 deletions

View File

@@ -11,25 +11,16 @@
"
/>
<Button
class="browse-workflows-button"
class="open-workflow-button"
icon="pi pi-folder-open"
v-tooltip="'Browse for an image or exported workflow'"
v-tooltip="$t('sideToolbar.openWorkflow')"
text
@click="() => commandStore.getCommandFunction('Comfy.OpenWorkflow')()"
/>
<Button
class="new-default-workflow-button"
icon="pi pi-code"
v-tooltip="'Load default workflow'"
text
@click="
() => commandStore.getCommandFunction('Comfy.LoadDefaultWorkflow')()
"
/>
<Button
class="new-blank-workflow-button"
icon="pi pi-plus"
v-tooltip="'Create a new blank workflow'"
v-tooltip="$t('sideToolbar.newBlankWorkflow')"
@click="
() => commandStore.getCommandFunction('Comfy.NewBlankWorkflow')()
"