📚 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
feat: add teams to sidebar preferences
Smaug673979572cb22719
diff --git a/frontend/app/components/Sidebar/helpers.ts b/frontend/app/components/Sidebar/helpers.tsindex fad2cfe1..a2dae5a8 100644--- a/frontend/app/components/Sidebar/helpers.ts+++ b/frontend/app/components/Sidebar/helpers.ts@@ -94,7 +94,7 @@ export const navigationItems = (sidebarItemsPrefs?: Preferences['sidebarItems'])label: 'components.sidebar.nav.teams',parent_id: '',route: '/dashboard/teams',- show: computed(() => true),+ show: computed(() => sidebarItemsPrefs?.teams ?? true),},{data: {diff --git a/frontend/app/pages/dashboard/settings/_views/apparence.vue b/frontend/app/pages/dashboard/settings/_views/apparence.vueindex f2ee48c3..14ed4146 100644--- a/frontend/app/pages/dashboard/settings/_views/apparence.vue+++ b/frontend/app/pages/dashboard/settings/_views/apparence.vue@@ -99,6 +99,7 @@ const options = computed(key: 'sidebarItems' as const,items: {manageCategories: t('settings.appearance.sidebarItems.manageCategories'),+ teams: t('settings.appearance.sidebarItems.teams'),importation: t('settings.appearance.sidebarItems.importation'),cdn: t('settings.appearance.sidebarItems.cdn'),documents: t('settings.appearance.sidebarItems.documents'),diff --git a/frontend/app/stores/preferences/constants.ts b/frontend/app/stores/preferences/constants.tsindex 1ebb7954..b6b4967a 100644--- a/frontend/app/stores/preferences/constants.ts+++ b/frontend/app/stores/preferences/constants.ts@@ -28,6 +28,7 @@ export const DEFAULT_PREFERENCES = {cdn: true as boolean,settings: true as boolean,home: true as boolean,+ teams: true as boolean,importation: false as boolean,documents: false as boolean,newPage: false as boolean,diff --git a/frontend/i18n/locales/de/settings.ts b/frontend/i18n/locales/de/settings.tsindex 9d3b3d3c..c329dfaa 100644--- a/frontend/i18n/locales/de/settings.ts+++ b/frontend/i18n/locales/de/settings.ts@@ -58,6 +58,7 @@ export default {manageCategories: 'Kategorien verwalten',newPage: 'Neue Seite',settings: 'Einstellungen',+ teams: 'Teams',},styleDefault: 'Standard',styleGlassmorphism: 'Glassmorphismus',diff --git a/frontend/i18n/locales/en/settings.ts b/frontend/i18n/locales/en/settings.tsindex 4b70265f..a301100e 100644--- a/frontend/i18n/locales/en/settings.ts+++ b/frontend/i18n/locales/en/settings.ts@@ -57,6 +57,7 @@ export default {manageCategories: 'Manage categories',newPage: 'New page',settings: 'Settings',+ teams: 'Teams',},styleDefault: 'Default',styleGlassmorphism: 'Glassmorphism',diff --git a/frontend/i18n/locales/fr/settings.ts b/frontend/i18n/locales/fr/settings.tsindex b3d97892..77736960 100644--- a/frontend/i18n/locales/fr/settings.ts+++ b/frontend/i18n/locales/fr/settings.ts@@ -58,6 +58,7 @@ export default {manageCategories: 'Gérer les catégories',newPage: 'Nouvelle page',settings: 'Paramètres',+ teams: 'Équipes',},styleDefault: 'Par défaut',styleGlassmorphism: 'Glassmorphisme',diff --git a/frontend/i18n/locales/uk/settings.ts b/frontend/i18n/locales/uk/settings.tsindex 1312ec41..ba8d4ec2 100644--- a/frontend/i18n/locales/uk/settings.ts+++ b/frontend/i18n/locales/uk/settings.ts@@ -57,6 +57,7 @@ export default {manageCategories: 'Керувати категоріями',newPage: 'Нова сторінка',settings: 'Налаштування',+ teams: 'Команди',},styleDefault: 'За замовчуванням',styleGlassmorphism: 'Glassmorphism',