π 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
refactor: remove unecessary values true/false for booleans props
Smaug67393b971d91a985
diff --git a/frontend/app/components/CommandCenter/AdvancedSearchTab.vue b/frontend/app/components/CommandCenter/AdvancedSearchTab.vueindex f9250a1c..ebebbf6c 100644--- a/frontend/app/components/CommandCenter/AdvancedSearchTab.vue+++ b/frontend/app/components/CommandCenter/AdvancedSearchTab.vue@@ -40,7 +40,7 @@<div class="filter-group"><label class="filter-label">Category</label>- <AppSelect v-model="selectedCategory" :items="categoriesTree" :nullable="true" placeholder="All categories" />+ <AppSelect v-model="selectedCategory" :items="categoriesTree" nullable placeholder="All categories" /></div><div class="filter-group">diff --git a/frontend/app/components/Node/Modals/CreateCategory.vue b/frontend/app/components/Node/Modals/CreateCategory.vueindex ced08241..f6c27af3 100644--- a/frontend/app/components/Node/Modals/CreateCategory.vue+++ b/frontend/app/components/Node/Modals/CreateCategory.vue@@ -5,7 +5,7 @@<input id="name" v-model="category.name" class="entry" type="text" required placeholder="Display name" /><label>Parent</label><div>- <AppSelect v-model="category.parent_id" :nullable="true" class="entry" :items="categoriesItem" placeholder="Select a category parent" />+ <AppSelect v-model="category.parent_id" nullable class="entry" :items="categoriesItem" placeholder="Select a category parent" /></div><div style="display: flex; flex-wrap: wrap"><div style="min-width: 200px; flex: 1; margin-right: 10px">@@ -14,7 +14,7 @@</div><div style="min-width: 200px; flex: 1; margin-left: 10px"><label for="color">Color</label>- <AppColorPicker id="color" v-model="category.color" class="entry" :nullable="true" />+ <AppColorPicker id="color" v-model="category.color" class="entry" nullable /></div></div><div class="footer">diff --git a/frontend/app/components/Node/Modals/Metadata.vue b/frontend/app/components/Node/Modals/Metadata.vueindex 3d940951..ff9e2008 100644--- a/frontend/app/components/Node/Modals/Metadata.vue+++ b/frontend/app/components/Node/Modals/Metadata.vue@@ -30,12 +30,12 @@v-model="node.parent_id":items="parentsTree"placeholder="Select a parent"- :nullable="true"+ nullable:disabled="i => i.id == node.id || nodeStore.isDescendant(node, i.id as string)"/><div class="inline-input"><label for="accessibility">Color</label>- <AppColorPicker v-model="node.color" :nullable="true" />+ <AppColorPicker v-model="node.color" nullable /></div></form></div>diff --git a/frontend/app/pages/dashboard/categories/[id]/edit.vue b/frontend/app/pages/dashboard/categories/[id]/edit.vueindex bb60b48e..4c150299 100644--- a/frontend/app/pages/dashboard/categories/[id]/edit.vue+++ b/frontend/app/pages/dashboard/categories/[id]/edit.vue@@ -32,7 +32,7 @@<textarea v-model="category.icon" type="text" rows="5" /><label for="color">Color</label>- <AppColorPicker v-model="category.color" name="color" :nullable="true" />+ <AppColorPicker v-model="category.color" name="color" nullable /><div class="actions-row"><AppButton type="danger" @click="deleteCategory()">Delete</AppButton>