π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Fix sidebar: Add wait for ressources ready
Smaug6739419532b9ac1a
diff --git a/frontend/app/components/Sidebar/Sidebar.vue b/frontend/app/components/Sidebar/Sidebar.vueindex c91240f3..398c2c0d 100644--- a/frontend/app/components/Sidebar/Sidebar.vue+++ b/frontend/app/components/Sidebar/Sidebar.vue@@ -52,12 +52,11 @@ import Dock from './Dock.vue';const { isOpened, hasSidebar } = useSidebar();const categoriesStore = useCategoriesStore();-const documentsStore = useDocumentsStore();const preferences = usePreferences();const userStore = useUserStore();const filter = ref<string>('');const workspaces = computed(() => [...categoriesStore.getAll.filter(c => c.role === 2).map(c => ({ text: c.name, value: c.id, meta: c }))]);-const isLoading = computed(() => categoriesStore.isFetching || documentsStore.isFetching);+const isLoading = computed(() => categoriesStore.isFetching || useDocumentsStore().isFetching || useRessourcesStore().isFetching);const sidebarTree = useSidebarTree();const toggleDock = () => preferences.set('view_dock', !preferences.get('view_dock'));