fix(editor): Reset lastAddedExecutingNode on execution finished event (no-changelog) (#16791)

This commit is contained in:
Alex Grozav
2025-06-30 12:00:48 +03:00
committed by GitHub
parent 5821abae17
commit 934ddda30e
2 changed files with 40 additions and 1 deletions

View File

@@ -43,6 +43,8 @@ export async function executionFinished(
const workflowsStore = useWorkflowsStore();
const uiStore = useUIStore();
workflowsStore.lastAddedExecutingNode = null;
// No workflow is actively running, therefore we ignore this event
if (typeof workflowsStore.activeExecutionId === 'undefined') {
return;