mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-19 16:25:25 +00:00
27 lines
565 B
JavaScript
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'
|
|
}
|