Skip to content

Commit

Permalink
namespace.users has name, not username
Browse files Browse the repository at this point in the history
  • Loading branch information
himdel committed Sep 25, 2023
1 parent 8b2dd8c commit 552659f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/containers/namespace-detail/namespace-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,13 @@ export class NamespaceDetail extends React.Component<RouteProps, IState> {
canSign: canSignNamespace(this.context, myNamespace?.data),
group: this.filterGroup(this.state.params.group, namespace.groups),
user: this.filterUser(this.state.params.user, namespace.users),
namespace,
namespace: {
...namespace,
users: namespace.users.map(({ name, object_roles }) => ({
username: name,
object_roles,
})),
},
showControls: !!myNamespace,
unfilteredCount,
});
Expand Down

0 comments on commit 552659f

Please sign in to comment.