From d3615b178000d101ec1310ff5f497b5dfabba015 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Thu, 6 May 2021 07:32:42 +0200 Subject: [PATCH] fixed undefined (#582) fixing: #453 --- src/realm-roles/UsersInRoleTab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/realm-roles/UsersInRoleTab.tsx b/src/realm-roles/UsersInRoleTab.tsx index 32a249ebe0..8c3f8a2d89 100644 --- a/src/realm-roles/UsersInRoleTab.tsx +++ b/src/realm-roles/UsersInRoleTab.tsx @@ -27,7 +27,7 @@ export const UsersInRoleTab = () => { first: first!, max: max!, }); - return usersWithRole; + return usersWithRole || []; }; const { enabled } = useContext(HelpContext);