diff --git a/ui/src/app/workflow/[workflowId]/settings/page.tsx b/ui/src/app/workflow/[workflowId]/settings/page.tsx index 46acabd..93afc43 100644 --- a/ui/src/app/workflow/[workflowId]/settings/page.tsx +++ b/ui/src/app/workflow/[workflowId]/settings/page.tsx @@ -759,11 +759,6 @@ function WorkflowSettingsContent({ return () => observer.disconnect(); }, []); - // Sections are gated on configurations being present in the store. - // After mount, initializeWorkflow runs in a useEffect — the first render - // may still have stale store data, but the next tick corrects it. - const dataReady = !!workflowConfigurations; - return (
{/* Sticky header */} @@ -785,7 +780,7 @@ function WorkflowSettingsContent({
{/* Sections */}
- {dataReady && ( + {workflowConfigurations && ( <> {/* General */} ((set, get) => ({ isAddNodePanelOpen: false, workflowValidationErrors: [], templateContextVariables: {}, - workflowConfigurations: DEFAULT_WORKFLOW_CONFIGURATIONS, + workflowConfigurations: null, dictionary: '', rfInstance: null, @@ -393,7 +393,7 @@ export const useWorkflowStore = create((set, get) => ({ isAddNodePanelOpen: false, workflowValidationErrors: [], templateContextVariables: {}, - workflowConfigurations: DEFAULT_WORKFLOW_CONFIGURATIONS, + workflowConfigurations: null, dictionary: '', rfInstance: null, });