Add option to disable workflow persistence (#3341)

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chenlei Hu <huchenlei@proton.me>
This commit is contained in:
catboxanon
2025-04-07 17:06:41 -04:00
committed by GitHub
parent 65c9c264c6
commit a7a8459e18
9 changed files with 40 additions and 2 deletions

View File

@@ -787,5 +787,12 @@ export const CORE_SETTINGS: SettingParams[] = [
options: ['off', 'after delay'], // Room for other options like on focus change, tab change, window change
defaultValue: 'off', // Popular requst by users (https://github.com/Comfy-Org/ComfyUI_frontend/issues/1584#issuecomment-2536610154)
versionAdded: '1.16.0'
},
{
id: 'Comfy.Workflow.Persist',
name: 'Persist workflow state and restore on page (re)load',
type: 'boolean',
defaultValue: true,
versionAdded: '1.16.1'
}
]