From 9c30d79093c4094bcd18ebd938260d40a6f1d72e Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Tue, 5 Sep 2023 10:13:23 +0100 Subject: [PATCH] formatting --- .../users/users/_components/AppsTableRenderer.svelte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/builder/src/pages/builder/portal/users/users/_components/AppsTableRenderer.svelte b/packages/builder/src/pages/builder/portal/users/users/_components/AppsTableRenderer.svelte index 9dda0dbab2..32e50ef05f 100644 --- a/packages/builder/src/pages/builder/portal/users/users/_components/AppsTableRenderer.svelte +++ b/packages/builder/src/pages/builder/portal/users/users/_components/AppsTableRenderer.svelte @@ -13,10 +13,10 @@ return $apps.length } else { return sdk.users.hasAppBuilderPermissions(row) - ? row.builder.apps.length + - Object.keys(row.roles || {}).filter(appId => - row.builder.apps.includes(appId) - ).length + ? row?.builder?.apps?.length + + Object.keys(row.roles || {}).filter(appId => { + row?.builder?.apps?.includes(appId) + }).length : value?.length || 0 } }