From f5390952297987fc96cfe9b6237e02303865ca66 Mon Sep 17 00:00:00 2001 From: Arman Date: Fri, 22 Dec 2023 15:05:25 +0100 Subject: [PATCH] fix: self hosted --- src/lib/layout/containerHeader.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/layout/containerHeader.svelte b/src/lib/layout/containerHeader.svelte index 08a7813f12..4da9c01f68 100644 --- a/src/lib/layout/containerHeader.svelte +++ b/src/lib/layout/containerHeader.svelte @@ -34,8 +34,7 @@ let showDropdown = false; - const { bandwidth, documents, storage, users, executions } = ($organization ?? {}) - .billingLimits; + const { bandwidth, documents, storage, users, executions } = $organization?.billingLimits ?? {}; const limitedServices = [ { name: 'bandwidth', value: bandwidth }, { name: 'documents', value: documents },