add view setting options

This commit is contained in:
Pallavi Kumari
2025-10-27 19:34:43 +05:30
parent 563a5b3e7e
commit 18cdf070c7
2 changed files with 16 additions and 8 deletions

View File

@@ -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>
); );
} }

View File

@@ -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);