Skip to content

Commit

Permalink
fix: show ownerId for user access
Browse files Browse the repository at this point in the history
  • Loading branch information
Imad Tassaoui committed Nov 5, 2024
1 parent a52c55a commit 5182303
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/pages/networks/NetworkDetailsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2311,7 +2311,13 @@ export default function NetworkDetailsPage(props: PageProps) {
) : (
<ServerIcon className="w-4 h-4 shrink-0 text-text-primary" />
)}
<span>{node.is_static ? node.static_node?.clientid : hostName}</span>
<span>
{node.is_user_node
? node.static_node?.ownerid
: node.is_static
? node.static_node?.clientid
: hostName}
</span>
</Link>
{node.pendingdelete && (
<Badge style={{ marginLeft: '1rem' }} status="processing" color="red" text="Removing..." />
Expand Down

0 comments on commit 5182303

Please sign in to comment.