Update to TypeScript 3.5.x

This commit is contained in:
Jan Oberhauser
2019-06-24 10:28:18 +02:00
parent 9427aedf44
commit 1d86a2a773
8 changed files with 14 additions and 12 deletions

View File

@@ -62,15 +62,13 @@ export default mixins(nodeBase).extend({
NodeIcon,
},
computed: {
workflowResultDataNode (): ITaskData[] | null {
return this.$store.getters.getWorkflowResultDataByNodeName(this.data.name);
},
workflowDataItems () {
if (this.workflowResultDataNode === null) {
const workflowResultDataNode = this.$store.getters.getWorkflowResultDataByNodeName(this.data.name);
if (workflowResultDataNode === null) {
return 0;
}
return this.workflowResultDataNode.length;
return workflowResultDataNode.length;
},
isExecuting (): boolean {
return this.$store.getters.executingNode === this.data.name;