columns.js 318 B

123456789101112
  1. import i18n from '@/locales'
  2. export const getIsolatedDeviceCountColumns = () => {
  3. return {
  4. field: 'isolated_device_count',
  5. title: i18n.t('compute.passthrough_device_count'),
  6. minWidth: 80,
  7. showOverflow: 'title',
  8. formatter: ({ row }) => {
  9. return row.isolated_device_count || '-'
  10. },
  11. }
  12. }