From 84827453a8da22912931026f6c91d0365ef1c33b Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Mon, 8 Jul 2024 06:58:40 +0100 Subject: [PATCH] chore: show components for admins --- .../dashboard/src/lib/components/RoleBasedSecurity/index.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/lib/components/RoleBasedSecurity/index.svelte b/apps/dashboard/src/lib/components/RoleBasedSecurity/index.svelte index 3b0c5045..1e7b64b3 100644 --- a/apps/dashboard/src/lib/components/RoleBasedSecurity/index.svelte +++ b/apps/dashboard/src/lib/components/RoleBasedSecurity/index.svelte @@ -20,6 +20,6 @@ } -{#if allowedRoles.includes(userRole)} +{#if allowedRoles.includes(userRole) || $isOrgAdmin} {/if}