mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -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, 'stoppedAt', finishedActiveExecution.data.stoppedAt);
|
||||
if (finishedActiveExecution.data) {
|
||||
this.setWorkflowExecutionRunData(
|
||||
finishedActiveExecution.data as unknown as IRunExecutionData,
|
||||
);
|
||||
if (finishedActiveExecution.data && (finishedActiveExecution.data as IRun).data) {
|
||||
this.setWorkflowExecutionRunData((finishedActiveExecution.data as IRun).data);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue