Skip to content

Commit

Permalink
fix: session is_locked show value
Browse files Browse the repository at this point in the history
  • Loading branch information
w940853815 authored and ibuler committed Sep 19, 2024
1 parent e343e0d commit 8545fc6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/views/sessions/SessionList/BaseList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script type="text/jsx">
import ListTable from '@/components/Table/ListTable'
import { timeOffset } from '@/utils/time'
import { ActionsFormatter, DetailFormatter } from '@/components/Table/TableFormatters'
import { ActionsFormatter, ChoicesFormatter, DetailFormatter } from '@/components/Table/TableFormatters'

export default {
name: 'BaseList',
Expand Down Expand Up @@ -119,7 +119,11 @@ export default {
}
},
is_locked: {
label: this.$t('IsLocked')
label: this.$t('IsLocked'),
formatter: ChoicesFormatter,
formatterArgs: {
showFalse: true
}
},
actions: {
prop: 'actions',
Expand Down

0 comments on commit 8545fc6

Please sign in to comment.