Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kinow committed Oct 19, 2021
1 parent 2383cfc commit a62d750
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/views/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ export default {
}
},
computed: {
...mapState('workflows', ['workflows']),
...mapState('workflows', ['lookup']),
workflowsTable () {
const count = Object.values(this.workflows)
const count = Object.values(this.lookup)
.map(workflow => workflow.status)
.reduce((acc, state) => {
acc[state] = (acc[state] || 0) + 1
Expand Down
4 changes: 2 additions & 2 deletions src/views/WorkflowsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ export default {
}
}),
computed: {
...mapState('workflows', ['workflows']),
...mapState('workflows', ['lookup']),
workflowsTable () {
return Object.values(this.workflows)
return Object.values(this.lookup)
}
},
methods: {
Expand Down

0 comments on commit a62d750

Please sign in to comment.