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

11 lines
238 B
TypeScript

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