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 types for settings open from sidebar

Smaug6739b4201f2e0a6f
diff --git a/frontend/app/composables/TreeStructure.ts b/frontend/app/composables/TreeStructure.ts
index 9a4f830b..a636f53c 100644
--- a/frontend/app/composables/TreeStructure.ts
+++ b/frontend/app/composables/TreeStructure.ts
@@ -10,6 +10,7 @@ export interface ANode {
export interface Item<T = Node> extends ANode {
id: string;
route: string;
+ onClick?: () => void;
data: T;
show: Ref<boolean>;
childrens?: Item<T>[];