Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix typing

Smaug67390018272f942b
diff --git a/frontend/app/pages/dashboard/settings/_views/preferences.vue b/frontend/app/pages/dashboard/settings/_views/preferences.vue
index d20b43e8..a5e21ea8 100644
--- a/frontend/app/pages/dashboard/settings/_views/preferences.vue
+++ b/frontend/app/pages/dashboard/settings/_views/preferences.vue
@@ -97,7 +97,7 @@ const options = ref<{ label: string; options: Option[] }[]>([
{
label: 'Document size',
type: 'select',
- value: preferencesStore.get('docSize'),
+ value: preferencesStore.get('docSize') as number,
storageKey: 'docSize',
choices: [
{ label: 'Large', id: 0 },
@@ -152,7 +152,7 @@ const options = ref<{ label: string; options: Option[] }[]>([
{
label: 'Default datatable items count',
type: 'select',
- value: preferencesStore.get('datatableItemsCount'),
+ value: preferencesStore.get('datatableItemsCount') as number,
storageKey: 'datatableItemsCount',
choices: [
{ label: '10', id: 10 },