mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 14:54:37 +00:00
23 lines
509 B
Vue
23 lines
509 B
Vue
<template>
|
|
<Button
|
|
v-tooltip.top="{
|
|
value: t('commands.Comfy_Graph_ConvertToSubgraph.label'),
|
|
showDelay: 1000
|
|
}"
|
|
severity="secondary"
|
|
text
|
|
icon="pi pi-box"
|
|
@click="() => commandStore.execute('Comfy.Graph.ConvertToSubgraph')"
|
|
/>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import Button from 'primevue/button'
|
|
import { useI18n } from 'vue-i18n'
|
|
|
|
import { useCommandStore } from '@/stores/commandStore'
|
|
|
|
const { t } = useI18n()
|
|
const commandStore = useCommandStore()
|
|
</script>
|