mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 23:09:41 +02:00
12 lines
293 B
TypeScript
12 lines
293 B
TypeScript
|
import { getInternalNodeIpAddress } from '../utils';
|
||
|
|
||
|
import { columnHelper } from './helper';
|
||
|
|
||
|
export const ip = columnHelper.accessor(
|
||
|
(row) => getInternalNodeIpAddress(row) ?? '-',
|
||
|
{
|
||
|
header: 'IP Address',
|
||
|
cell: ({ row }) => getInternalNodeIpAddress(row.original) ?? '-',
|
||
|
}
|
||
|
);
|