From 3b2b0c19ed67e54efc93d672110d8f5680f402c4 Mon Sep 17 00:00:00 2001 From: Apoorv Mishra Date: Tue, 6 Aug 2024 15:11:54 +0530 Subject: [PATCH] fix: don't hide sidebar if collections are not loaded, loading drafts should be enough --- app/stores/UiStore.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/stores/UiStore.ts b/app/stores/UiStore.ts index 84c59675a0..7b976b7ee2 100644 --- a/app/stores/UiStore.ts +++ b/app/stores/UiStore.ts @@ -281,10 +281,7 @@ class UiStore { @computed get readyToShow() { - return ( - !this.rootStore.auth.user || - (this.rootStore.collections.isLoaded && this.rootStore.documents.isLoaded) - ); + return !this.rootStore.auth.user || this.rootStore.documents.isLoaded; } /**