diff --git a/src/components/ProxyResourcesTable.tsx b/src/components/ProxyResourcesTable.tsx index cbab8765..4ec69bdf 100644 --- a/src/components/ProxyResourcesTable.tsx +++ b/src/components/ProxyResourcesTable.tsx @@ -334,6 +334,28 @@ export default function ProxyResourcesTable({ ); } }, + { + id: "niceId", + accessorKey: "nice", + friendlyName: t("niceId"), + enableHiding: true, + header: ({ column }) => { + return ( + + ); + }, + cell: ({ row }) => { + return {row.original.nice || "-"}; + } + }, { accessorKey: "protocol", friendlyName: t("protocol"), @@ -558,6 +580,7 @@ export default function ProxyResourcesTable({ defaultSort={defaultSort} enableColumnVisibility={true} persistColumnVisibility="proxy-resources" + columnVisibility={{ niceId: false }} stickyLeftColumn="name" stickyRightColumn="actions" /> diff --git a/src/components/SitesTable.tsx b/src/components/SitesTable.tsx index 452ce189..5943a7f7 100644 --- a/src/components/SitesTable.tsx +++ b/src/components/SitesTable.tsx @@ -125,6 +125,28 @@ export default function SitesTable({ sites, orgId }: SitesTableProps) { ); } }, + { + id: "niceId", + accessorKey: "nice", + friendlyName: t("niceId"), + enableHiding: true, + header: ({ column }) => { + return ( + + ); + }, + cell: ({ row }) => { + return {row.original.nice || "-"}; + } + }, { accessorKey: "online", friendlyName: t("online"), @@ -413,6 +435,7 @@ export default function SitesTable({ sites, orgId }: SitesTableProps) { onRefresh={refreshData} isRefreshing={isRefreshing} columnVisibility={{ + niceId: false, nice: false, exitNode: false, address: false