π 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 types
Smaug67390068afc035bf
diff --git a/frontend/app/composables/useSidebar.ts b/frontend/app/composables/useSidebar.tsindex f045cb2e..40b92598 100644--- a/frontend/app/composables/useSidebar.ts+++ b/frontend/app/composables/useSidebar.ts@@ -14,7 +14,7 @@ export function useSidebar() {const isOpen = useState('sidebar-open', () => false);const hasSidebar = useState('sidebar-has', () => false);const isResizing = useState('sidebar-resizing', () => false);- const paneWidth = useState('sidebar-width', () => (isMobile.value ? 340 : 390));+ const paneWidth: Ref<number> = useState('sidebar-width', () => (isMobile.value ? 340 : 390));const activeNodeId = useState<string | null>('sidebar-active', () => null);const workspaceId = useState<string | undefined>('sidebar-workspace', () => undefined);