From e59954f956160f5db827c7c5810cda90f4af65e6 Mon Sep 17 00:00:00 2001 From: Mary Hipp Rogers Date: Wed, 24 Jan 2024 16:10:19 -0500 Subject: [PATCH] fix workflow updating (#5567) * retain id through workflow state so that we correctly update or save new * lint --------- Co-authored-by: Mary Hipp --- .../web/src/features/nodes/util/workflow/buildWorkflow.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/invokeai/frontend/web/src/features/nodes/util/workflow/buildWorkflow.ts b/invokeai/frontend/web/src/features/nodes/util/workflow/buildWorkflow.ts index 35e189e246..1eaacb7827 100644 --- a/invokeai/frontend/web/src/features/nodes/util/workflow/buildWorkflow.ts +++ b/invokeai/frontend/web/src/features/nodes/util/workflow/buildWorkflow.ts @@ -24,6 +24,7 @@ const workflowKeys = [ 'notes', 'exposedFields', 'meta', + 'id', ] satisfies (keyof WorkflowV2)[]; export type BuildWorkflowFunction = (arg: BuildWorkflowArg) => WorkflowV2;