Files
lina/src/components/AccountListTable/const.js
2022-11-08 14:41:40 +08:00

27 lines
565 B
JavaScript

import ChoicesFormatter from '@/components/TableFormatters/ChoicesFormatter'
import i18n from '@/i18n/i18n'
export const connectivityMeta = {
label: i18n.t('assets.Reachable'),
formatter: ChoicesFormatter,
formatterArgs: {
faChoices: {
ok: 'fa-check-circle',
failed: 'fa-times-circle',
unknown: ' '
},
classChoices: {
ok: 'text-primary',
failed: 'text-danger',
unknown: ''
},
textChoices: {
ok: 'Avail',
failed: 'Failed',
unknown: '-'
}
},
width: '100px',
align: 'center'
}