fix(editor): Update node issues when opening execution (#12972)
Some checks failed
Test Master / install-and-build (push) Has been cancelled
Test Master / Unit tests (18.x) (push) Has been cancelled
Test Master / Unit tests (20.x) (push) Has been cancelled
Test Master / Unit tests (22.4) (push) Has been cancelled
Test Master / Lint (push) Has been cancelled
Test Master / Notify Slack on failure (push) Has been cancelled

This commit is contained in:
Alex Grozav 2025-01-31 19:08:50 +02:00 committed by GitHub
parent 7e1844757f
commit 1a915239c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -364,9 +364,7 @@ async function initializeRoute(force = false) {
await initializeWorkspaceForExistingWorkflow(workflowId.value);
void nextTick(() => {
nodeHelpers.updateNodesInputIssues();
nodeHelpers.updateNodesCredentialsIssues();
nodeHelpers.updateNodesParameterIssues();
updateNodesIssues();
});
}
@ -409,6 +407,12 @@ async function initializeWorkspaceForExistingWorkflow(id: string) {
}
}
function updateNodesIssues() {
nodeHelpers.updateNodesInputIssues();
nodeHelpers.updateNodesCredentialsIssues();
nodeHelpers.updateNodesParameterIssues();
}
/**
* Workflow
*/
@ -1155,6 +1159,10 @@ async function onOpenExecution(executionId: string) {
return;
}
void nextTick(() => {
updateNodesIssues();
});
canvasStore.stopLoading();
fitView();