Add canceled status filter to automation sessions list

This commit is contained in:
Jože Fortun
2024-04-17 11:33:59 +02:00
parent 9c07c903c8
commit c0d43dfb5a
2 changed files with 4 additions and 2 deletions
@@ -139,7 +139,7 @@ export default {
// Use null not undefined!
sessionID: null,
workflowID: null,
status: null,
status: 0,
completed: 1,
},
@@ -183,11 +183,11 @@ export default {
computed: {
statusOptions () {
return [
{ value: null, text: this.$t('filterForm.all.label') },
{ value: 0, text: this.$t('filterForm.started.label') },
{ value: 1, text: this.$t('filterForm.prompted.label') },
{ value: 2, text: this.$t('filterForm.suspended.label') },
{ value: 3, text: this.$t('filterForm.failed.label') },
{ value: 5, text: this.$t('filterForm.canceled.label') },
{ value: 4, text: this.$t('filterForm.completed.label') },
]
},
@@ -48,6 +48,8 @@ list:
label: Started
suspended:
label: Suspended
canceled:
label: Canceled
loading: Loading sessions
numFound: '{{count}} session found'
numFound_plural: '{{count}} sessions found'