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

11 lines
238 B
TypeScript
Raw Normal View History

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