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

11 lines
230 B
TypeScript

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