mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
fix(editor): Fix for wrong execution data displayed in executions preview (#4966)
This commit is contained in:
committed by
GitHub
parent
5cbb5f4bc8
commit
bfc8e68b37
@@ -944,5 +944,13 @@ export const useWorkflowsStore = defineStore(STORES.WORKFLOWS, {
|
||||
deleteExecution(execution: IExecutionsSummary): void {
|
||||
this.currentWorkflowExecutions.splice(this.currentWorkflowExecutions.indexOf(execution), 1);
|
||||
},
|
||||
addToCurrentExecutions(executions: IExecutionsSummary[]): void {
|
||||
executions.forEach(execution => {
|
||||
const exists = this.currentWorkflowExecutions.find(ex => ex.id === execution.id);
|
||||
if (!exists) {
|
||||
this.currentWorkflowExecutions.push(execution);
|
||||
}
|
||||
});
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user