fix(editor): Hide previous execution data for sub-nodes in debug mode if it has execution error (#8710)

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
oleg
2024-02-26 10:22:42 +01:00
committed by GitHub
parent 4b01335aa4
commit a973b9c077
2 changed files with 3 additions and 0 deletions

View File

@@ -395,6 +395,8 @@ export default defineComponent({
if (val === 'mapping') { if (val === 'mapping') {
this.onUnlinkRun(); this.onUnlinkRun();
this.mappedNode = this.rootNodesParents[0]; this.mappedNode = this.rootNodesParents[0];
} else {
this.mappedNode = null;
} }
}, },
immediate: true, immediate: true,

View File

@@ -173,6 +173,7 @@
<div <div
v-else-if=" v-else-if="
!hasRunError &&
hasNodeRun && hasNodeRun &&
((dataCount > 0 && maxRunIndex === 0) || search) && ((dataCount > 0 && maxRunIndex === 0) || search) &&
!isArtificialRecoveredEventItem !isArtificialRecoveredEventItem