Skip to content

Commit

Permalink
frontend: wait for service accounts to load
Browse files Browse the repository at this point in the history
  • Loading branch information
rikimaru0345 authored and weeco committed Nov 21, 2023
1 parent a6ba1cf commit e6ef671
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/pages/acls/Acl.List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ class AclList extends PageComponent {
render() {
if (api.userData != null && !api.userData.canListAcls) return PermissionDenied;
if (api.ACLs?.aclResources === undefined) return DefaultSkeleton;
if (!api.serviceAccounts || !api.serviceAccounts.users) return DefaultSkeleton;

const warning = api.ACLs === null
? <Alert status="warning" style={{ marginBottom: '1em' }}>
Expand Down

0 comments on commit e6ef671

Please sign in to comment.