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

Smaug6739e89a4c7a42a9
diff --git a/frontend/app/pages/dashboard/docs/_modals/DocumentMeta.vue b/frontend/app/pages/dashboard/docs/_modals/DocumentMeta.vue
index 2916a496..f5e2ced8 100644
--- a/frontend/app/pages/dashboard/docs/_modals/DocumentMeta.vue
+++ b/frontend/app/pages/dashboard/docs/_modals/DocumentMeta.vue
@@ -22,7 +22,7 @@
<AppSelect
v-model="document.parent_id as string"
:items="documentsTree"
- :disabled="(i) => (i as Item).data?.type !== 'document'"
+ :disabled="(i:Item) => i.data?.type !== 'document'"
placeholder="Select a document parent"
:nullable="true"
/>