π 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
Remove categories and fix margins
Smaug67399f07361799dd
diff --git a/frontend/app/pages/dashboard/docs/_modals/DocumentMeta.vue b/frontend/app/pages/dashboard/docs/_modals/DocumentMeta.vueindex d5fc4e95..2916a496 100644--- a/frontend/app/pages/dashboard/docs/_modals/DocumentMeta.vue+++ b/frontend/app/pages/dashboard/docs/_modals/DocumentMeta.vue@@ -18,8 +18,6 @@<AppToggle id="pinned" v-model="pinnedToggle" /></div>- <label for="category">Category</label>- <AppSelect v-model="document.category" :items="categories" placeholder="Select category" /><label for="parent">Parent Document</label><AppSelectv-model="document.parent_id as string"@@ -45,7 +43,6 @@ const props = defineProps<{ doc: Document }>();const document = ref<Document>(props.doc);const pinnedToggle = ref(!!document.value.pinned);-const categories = new TreeStructure(useSidebarTree().categories.value).generateTree().filter(i => i.data.type === 'category' && i.data.role == 2);const documentsTree = computed(() => useSidebarTree().groupedByWorkspace());watch(pinnedToggle, val => (document.value.pinned = val ? 1 : 0));@@ -61,7 +58,7 @@ watch(flex-direction: column;}form {- margin-bottom: 15px;+ padding: 0px 5px 25px 5px;flex: 1;overflow-y: auto;}