Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

fix order

Smaug6739c5160fb966e7
diff --git a/frontend/components/sidebar/Sidebar.vue b/frontend/components/sidebar/Sidebar.vue
index 4bf7aeea..1166a721 100644
--- a/frontend/components/sidebar/Sidebar.vue
+++ b/frontend/components/sidebar/Sidebar.vue
@@ -47,7 +47,7 @@ const items = computed((): Item[] => {
})).filter(c => c.data.name.toLowerCase().includes(filter.value.toLowerCase()));
if (filter.value) return new ItemsManager([...navigation, ...documents]).generateTree();
- return new ItemsManager([...navigation, ...categories, ...documents]).generateTree();
+ return new ItemsManager([...navigation, ...documents, ...categories]).generateTree();
});