portainer/app/react/nomad/jobs/JobsView/JobsDatatable/columns/status.tsx

11 lines
230 B
TypeScript
Raw Normal View History

import { columnHelper } from './helper';
export const status = columnHelper.accessor('Status', {
header: 'Job Status',
id: 'status',
cell: ({ getValue }) => {
const value = getValue();
return value || '-';
},
});