handle unkown errors

This commit is contained in:
Mutasem 2022-04-08 07:44:55 +02:00
parent 56647f9885
commit cc9acbce00
2 changed files with 7 additions and 1 deletions

View file

@ -353,7 +353,10 @@ export default mixins(
return null;
}
const executionData: IRunExecutionData = this.workflowExecution.data;
if (executionData && executionData.resultData) {
return executionData.resultData.runData;
}
return null;
},
node (): INodeUi | null {
return this.$store.getters.activeNode;

View file

@ -287,6 +287,9 @@ export const nodeHelpers = mixins(
return [];
}
const executionData: IRunExecutionData = this.$store.getters.getWorkflowExecution.data;
if (!executionData || !executionData.resultData) { // unknown status
return [];
}
const runData = executionData.resultData.runData;
if (runData === null || runData[node.name] === undefined ||