mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(editor): Logs overview panel (#14045)
This commit is contained in:
@@ -447,6 +447,15 @@ export function useRunWorkflow(useRunWorkflowOpts: { router: ReturnType<typeof u
|
||||
toast.showError(error, i18n.baseText('nodeView.showError.stopExecution.title'));
|
||||
}
|
||||
} finally {
|
||||
// Wait for websocket event to update the execution status to 'canceled'
|
||||
for (let i = 0; i < 100; i++) {
|
||||
if (workflowsStore.workflowExecutionData?.status !== 'running') {
|
||||
break;
|
||||
}
|
||||
|
||||
await new Promise(requestAnimationFrame);
|
||||
}
|
||||
|
||||
workflowsStore.markExecutionAsStopped();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user