From e6ef671c84258615ddb7ef0b079b721a96aa97f5 Mon Sep 17 00:00:00 2001 From: rikimaru0345 Date: Tue, 21 Nov 2023 15:39:11 +0100 Subject: [PATCH] frontend: wait for service accounts to load --- frontend/src/components/pages/acls/Acl.List.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/pages/acls/Acl.List.tsx b/frontend/src/components/pages/acls/Acl.List.tsx index 1198e2cce..ff3cc42dc 100644 --- a/frontend/src/components/pages/acls/Acl.List.tsx +++ b/frontend/src/components/pages/acls/Acl.List.tsx @@ -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 ?