From a702fdd4e2ab3cf0b334d767223690018d9be857 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Sat, 24 Aug 2024 21:40:17 +0100 Subject: [PATCH] feat: enable dashboard lock --- apps/dashboard/src/lib/components/Page/Restricted.svelte | 2 +- apps/dashboard/src/lib/utils/services/org/index.ts | 2 ++ apps/dashboard/src/routes/+layout.svelte | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/dashboard/src/lib/components/Page/Restricted.svelte b/apps/dashboard/src/lib/components/Page/Restricted.svelte index 9b69df7e..7dcc5851 100644 --- a/apps/dashboard/src/lib/components/Page/Restricted.svelte +++ b/apps/dashboard/src/lib/components/Page/Restricted.svelte @@ -14,7 +14,7 @@

Restricted Page

- This organization is restricted. In the mean time, you can go back to the homepage. + This organization is restricted. In the mean time, you can checkout our features.

-{#if data.org?.is_restricted} +{#if data.org?.is_restricted || $currentOrg.is_restricted} {:else if data.skipAuth}