mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
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
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:
parent
7e1844757f
commit
1a915239c6
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue