Dont show the gateway resources in the table

This commit is contained in:
Owen
2026-09-24 09:49:09 -04:00
parent 118120c9ce
commit 8ba14c2a8a
+5 -1
View File
@@ -393,7 +393,11 @@ export default function PrivateResourcesTable({
cell: ({ row }) => {
const resourceRow = row.original;
const display = formatDestinationDisplay(resourceRow);
if (resourceRow.destination) {
if (
resourceRow.destination &&
resourceRow.mode !== "gateway"
) {
// don't show the gateway resource destination which is 0.0.0.0/0 to not confuse people
return (
<CopyToClipboard
text={display}