mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-06 13:40:25 +00:00
Fix save temporary workflow loop on overwrite (#1699)
This commit is contained in:
@@ -66,7 +66,7 @@ export const workflowService = {
|
||||
const workflowStore = useWorkflowStore()
|
||||
const existingWorkflow = workflowStore.getWorkflowByPath(newPath)
|
||||
|
||||
if (existingWorkflow) {
|
||||
if (existingWorkflow && !existingWorkflow.isTemporary) {
|
||||
const res = (await ComfyAsyncDialog.prompt({
|
||||
title: 'Overwrite existing file?',
|
||||
message: `"${newPath}" already exists. Do you want to overwrite it?`,
|
||||
|
||||
Reference in New Issue
Block a user