mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 21:37:32 -08:00
fix(editor): Apply correct IRunExecutionData to finished workflow (#5552)
fix wrong IRunExecutionData being applied
This commit is contained in:
parent
a53f3998a2
commit
e2d7c1804f
|
@ -927,10 +927,8 @@ export const useWorkflowsStore = defineStore(STORES.WORKFLOWS, {
|
||||||
|
|
||||||
Vue.set(activeExecution, 'finished', finishedActiveExecution.data.finished);
|
Vue.set(activeExecution, 'finished', finishedActiveExecution.data.finished);
|
||||||
Vue.set(activeExecution, 'stoppedAt', finishedActiveExecution.data.stoppedAt);
|
Vue.set(activeExecution, 'stoppedAt', finishedActiveExecution.data.stoppedAt);
|
||||||
if (finishedActiveExecution.data) {
|
if (finishedActiveExecution.data && (finishedActiveExecution.data as IRun).data) {
|
||||||
this.setWorkflowExecutionRunData(
|
this.setWorkflowExecutionRunData((finishedActiveExecution.data as IRun).data);
|
||||||
finishedActiveExecution.data as unknown as IRunExecutionData,
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue