mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-05 13:10:24 +00:00
[Beta Menu] Show active workflow name on browser tab title (#857)
This commit is contained in:
11
src/stores/workflowStore.ts
Normal file
11
src/stores/workflowStore.ts
Normal 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
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user