Skip to content

Commit a62d750

Browse files
committed
Fix e2e tests
1 parent 2383cfc commit a62d750

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/views/Dashboard.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,9 @@ export default {
241241
}
242242
},
243243
computed: {
244-
...mapState('workflows', ['workflows']),
244+
...mapState('workflows', ['lookup']),
245245
workflowsTable () {
246-
const count = Object.values(this.workflows)
246+
const count = Object.values(this.lookup)
247247
.map(workflow => workflow.status)
248248
.reduce((acc, state) => {
249249
acc[state] = (acc[state] || 0) + 1

src/views/WorkflowsTable.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ export default {
132132
}
133133
}),
134134
computed: {
135-
...mapState('workflows', ['workflows']),
135+
...mapState('workflows', ['lookup']),
136136
workflowsTable () {
137-
return Object.values(this.workflows)
137+
return Object.values(this.lookup)
138138
}
139139
},
140140
methods: {

0 commit comments

Comments
 (0)