[fix] Fix "Require confirmation before clearing workflow" setting not working (#4587)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Christian Byrne
2025-07-30 00:08:06 -07:00
committed by GitHub
parent d70949dd47
commit 596c51d1ef
3 changed files with 6 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ export function useCoreCommands(): ComfyCommand[] {
function: () => {
const settingStore = useSettingStore()
if (
!settingStore.get('Comfy.ComfirmClear') ||
!settingStore.get('Comfy.ConfirmClear') ||
confirm('Clear workflow?')
) {
app.clean()