mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(core): Fix call to /executions-current
with unsaved workflow (#3280)
This commit is contained in:
parent
3fcee14bf5
commit
7090a79b5d
|
@ -2658,7 +2658,8 @@ class App {
|
||||||
for (const data of executingWorkflows) {
|
for (const data of executingWorkflows) {
|
||||||
if (
|
if (
|
||||||
(filter.workflowId !== undefined && filter.workflowId !== data.workflowId) ||
|
(filter.workflowId !== undefined && filter.workflowId !== data.workflowId) ||
|
||||||
!sharedWorkflowIds.includes(data.workflowId.toString())
|
(data.workflowId !== undefined &&
|
||||||
|
!sharedWorkflowIds.includes(data.workflowId.toString()))
|
||||||
) {
|
) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue