From b6247fb9e4378fd31dcd893eefdddab97759f7e6 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 28 Feb 2023 12:54:18 +0000 Subject: [PATCH] Remove logs --- packages/builder/src/components/common/RoleSelect.svelte | 2 -- .../app/[application]/_components/BuilderSidePanel.svelte | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/builder/src/components/common/RoleSelect.svelte b/packages/builder/src/components/common/RoleSelect.svelte index 6a1448b714..09a67cb6fe 100644 --- a/packages/builder/src/components/common/RoleSelect.svelte +++ b/packages/builder/src/components/common/RoleSelect.svelte @@ -23,8 +23,6 @@ const getOptions = (roles, allowPublic, allowRemove, allowedRoles) => { if (allowedRoles?.length) { - console.log(allowedRoles) - console.log(roles) return roles.filter(role => allowedRoles.includes(role._id)) } let newRoles = [...roles] diff --git a/packages/builder/src/pages/builder/app/[application]/_components/BuilderSidePanel.svelte b/packages/builder/src/pages/builder/app/[application]/_components/BuilderSidePanel.svelte index 9866bda267..a350a044c9 100644 --- a/packages/builder/src/pages/builder/app/[application]/_components/BuilderSidePanel.svelte +++ b/packages/builder/src/pages/builder/app/[application]/_components/BuilderSidePanel.svelte @@ -78,6 +78,7 @@ paginated: query ? null : false, }, }) + await usersFetch.refresh() filteredUsers = $usersFetch.rows.map(user => { const isBuilderOrAdmin = user.admin?.global || user.builder?.global