Skip to content

Commit

Permalink
Small change to return a value directly rather then save it to an unu…
Browse files Browse the repository at this point in the history
…sed value to be returned after
  • Loading branch information
Aaron Cole committed May 30, 2022
1 parent 9905273 commit 3ebcf47
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/cylc/gscan/GScan.vue
Original file line number Diff line number Diff line change
Expand Up @@ -505,11 +505,9 @@ export default {
TaskState.SUCCEEDED.name,
TaskState.FAILED.name
]
const latestStateTasksObj = latestStateTasks.filter(entry => {
return latestStateTasks.filter(entry => {
return validValues.includes(entry[0]) && this.countTasksInState(node, entry[0])
})
return latestStateTasksObj
// return []
}
}
}
Expand Down

0 comments on commit 3ebcf47

Please sign in to comment.