π 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 0 as value displayed (docSize error)
Smaug67391c01ff70c489
diff --git a/frontend/app/components/AppSelect.vue b/frontend/app/components/AppSelect.vueindex 2d6997fb..7682fc60 100644--- a/frontend/app/components/AppSelect.vue+++ b/frontend/app/components/AppSelect.vue@@ -4,7 +4,7 @@<button @click.stop="toggleDropdown">{{ selected?.label || placeholder }}</button></div><div v-else>- <input ref="searchInput" v-model="search" type="text" placeholder="Search..." class="search-input" @keydown="handleKeyDown" >+ <input ref="searchInput" v-model="search" type="text" placeholder="Search..." class="search-input" @keydown="handleKeyDown" /><div class="dropdown"><ul><AppSelectNode v-for="item in filteredItems" :key="item.id" :node="item" :level="0" :disabled="disabled" @select="handleSelect" />@@ -23,7 +23,7 @@ const props = defineProps<{disabled?: (i: ANode) => boolean;}>();-const selectedId = ref<string | number>(props.modelValue || '');+const selectedId = ref<string | number>(props.modelValue ?? '');const open = ref(false);const search = ref('');const searchInput = ref<HTMLInputElement | null>(null);