Skip to content

Commit

Permalink
Merge pull request #1086 from amvanbaren/show-namespace-details-owner…
Browse files Browse the repository at this point in the history
…-only

Only show namespace details form when owner
  • Loading branch information
amvanbaren authored Jan 27, 2025
2 parents e56f7e1 + 4499afd commit 3f10591
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions webui/src/pages/user/user-settings-namespace-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,20 @@ export const NamespaceDetail: FunctionComponent<NamespaceDetailProps> = props =>
</Grid>
{
props.namespace.membersUrl
? <Grid item>
<UserNamespaceMemberList
setLoadingState={props.setLoadingState}
namespace={props.namespace}
filterUsers={props.filterUsers}
fixSelf={props.fixSelf} />
</Grid>
? <>
<Grid item>
<UserNamespaceMemberList
setLoadingState={props.setLoadingState}
namespace={props.namespace}
filterUsers={props.filterUsers}
fixSelf={props.fixSelf} />
</Grid>
<Grid item>
<UserNamespaceDetails namespace={props.namespace}/>
</Grid>
</>
: null
}
<Grid item>
<UserNamespaceDetails namespace={props.namespace}/>
</Grid>
<Grid item>
<UserNamespaceExtensionListContainer
namespace={props.namespace}
Expand Down

0 comments on commit 3f10591

Please sign in to comment.