[Beta Menu] Show active workflow name on browser tab title (#857)

This commit is contained in:
Chenlei Hu
2024-09-17 11:11:52 +09:00
committed by GitHub
parent f9fd0f59ff
commit 48fe14e263
3 changed files with 43 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
import { defineStore } from 'pinia'
import { ref } from 'vue'
import { ComfyWorkflow } from '@/scripts/workflows'
export const useWorkflowStore = defineStore('workflow', () => {
const activeWorkflow = ref<ComfyWorkflow | null>(null)
return {
activeWorkflow
}
})