π 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 preferences and design
Smaug6739a4db45d0e49e
diff --git a/frontend/app/components/DocumentDotMenu.vue b/frontend/app/components/DocumentDotMenu.vueindex 3bb0e4ab..ea1faa94 100644--- a/frontend/app/components/DocumentDotMenu.vue+++ b/frontend/app/components/DocumentDotMenu.vue@@ -53,7 +53,6 @@ const emitDelete = () => {const pin = async () => {props.document.pinned = props.document.pinned === 1 ? 0 : 1; // Toggle pin stateawait useDocumentsStore().update(props.document);- dotMenu.value?.close();};</script>diff --git a/frontend/app/pages/dashboard/settings/_views/preferences.vue b/frontend/app/pages/dashboard/settings/_views/preferences.vueindex eb5b5d55..1a0f0a11 100644--- a/frontend/app/pages/dashboard/settings/_views/preferences.vue+++ b/frontend/app/pages/dashboard/settings/_views/preferences.vue@@ -9,7 +9,7 @@<AppToggle v-if="option.type === 'toggle'" :active="option.value" @toggle="toggleOption(option)" /><!-- Native select -->- <AppSelect v-else-if="option.type === 'select'" @update:model-value="option => selectOption(option)" :items="option.choices" v-model="option.value" size="40%" />+ <AppSelect v-else-if="option.type === 'select'" @update:model-value="o => selectOption({ ...option, value: o })" :items="option.choices" v-model="option.value" size="40%" /><AppColorPicker v-else-if="option.type === 'color'" :selectedColor="option.value" @update:selected-color="option.onChange" /></div></div>@@ -172,6 +172,7 @@ const toggleOption = (option: ToggleOption) => {};const selectOption = (option: SelectOption) => {+ console.log('Selected option:', option);preferencesStore.set(option.storageKey, option.value);option.onChange?.(option.value);};@@ -185,8 +186,6 @@ const selectOption = (option: SelectOption) => {gap: 1rem;margin-bottom: 1rem;}-.entry {-}h2 {font-size: 1.2em;}