mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-28 18:54:09 +00:00
Add generation progress to browser tab title (#855)
This commit is contained in:
@@ -19,6 +19,8 @@ export const useExecutionStore = defineStore('execution', () => {
|
||||
return Object.values(activePrompt.value.nodes).length
|
||||
})
|
||||
|
||||
const isIdle = computed(() => !activePromptId.value)
|
||||
|
||||
const nodesExecuted = computed(() => {
|
||||
if (!activePrompt.value) return 0
|
||||
return Object.values(activePrompt.value.nodes).filter(Boolean).length
|
||||
@@ -102,6 +104,7 @@ export const useExecutionStore = defineStore('execution', () => {
|
||||
}
|
||||
|
||||
return {
|
||||
isIdle,
|
||||
activePromptId,
|
||||
queuedPrompts,
|
||||
executingNodeId,
|
||||
|
||||
Reference in New Issue
Block a user