mirror of
https://github.com/fosrl/pangolin.git
synced 2026-09-29 09:19:04 +02:00
Dont show the gateway resources in the table
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user