fix(editor): Send only execution id in postMessage when previewing an execution (#9514)

This commit is contained in:
Csaba Tuncsik
2024-05-27 12:44:25 +02:00
committed by GitHub
parent 3a2e5455a9
commit 49b5bd70f0
3 changed files with 5 additions and 3 deletions

View File

@@ -4765,7 +4765,9 @@ export default defineComponent({
});
}
} else if (json?.command === 'setActiveExecution') {
this.executionsStore.activeExecution = json.execution;
this.executionsStore.activeExecution = (await this.executionsStore.fetchExecution(
json.executionId,
)) as ExecutionSummary;
}
} catch (e) {}
},