1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 23:09:41 +02:00
portainer/app/react/kubernetes/cluster/HomeView/NodesDatatable/columns/ip.tsx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
293 B
TypeScript
Raw Normal View History

import { getInternalNodeIpAddress } from '../utils';
import { columnHelper } from './helper';
export const ip = columnHelper.accessor(
(row) => getInternalNodeIpAddress(row) ?? '-',
{
header: 'IP Address',
cell: ({ row }) => getInternalNodeIpAddress(row.original) ?? '-',
}
);