mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-23 21:36:37 +00:00
add view setting options
This commit is contained in:
@@ -263,6 +263,14 @@ export default function ExitNodesTable({
|
|||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
</DropdownMenuContent>
|
</DropdownMenuContent>
|
||||||
</DropdownMenu>
|
</DropdownMenu>
|
||||||
|
<Link
|
||||||
|
href={`/${nodeRow.orgId}/settings/remote-exit-nodes/${remoteExitNodeId}`}
|
||||||
|
>
|
||||||
|
<Button variant={"secondary"} size="sm">
|
||||||
|
{t("edit")}
|
||||||
|
<ArrowRight className="ml-2 w-4 h-4" />
|
||||||
|
</Button>
|
||||||
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -278,14 +278,14 @@ export default function ClientsTable({ clients, orgId }: ClientTableProps) {
|
|||||||
</Button>
|
</Button>
|
||||||
</DropdownMenuTrigger>
|
</DropdownMenuTrigger>
|
||||||
<DropdownMenuContent align="end">
|
<DropdownMenuContent align="end">
|
||||||
{/* <Link */}
|
<Link
|
||||||
{/* className="block w-full" */}
|
className="block w-full"
|
||||||
{/* href={`/${clientRow.orgId}/settings/sites/${clientRow.nice}`} */}
|
href={`/${clientRow.orgId}/settings/clients/${clientRow.id}`}
|
||||||
{/* > */}
|
>
|
||||||
{/* <DropdownMenuItem> */}
|
<DropdownMenuItem>
|
||||||
{/* View settings */}
|
View settings
|
||||||
{/* </DropdownMenuItem> */}
|
</DropdownMenuItem>
|
||||||
{/* </Link> */}
|
</Link>
|
||||||
<DropdownMenuItem
|
<DropdownMenuItem
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setSelectedClient(clientRow);
|
setSelectedClient(clientRow);
|
||||||
|
|||||||
Reference in New Issue
Block a user