From c9c07f0cb064af5ff2173b25abe082b64df5060a Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 9 Jul 2025 20:53:35 +0300 Subject: [PATCH] chore(book_properties): add config for all note types --- .../ribbon_widgets/book_properties_config.ts | 35 ++++++++++++------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/apps/client/src/widgets/ribbon_widgets/book_properties_config.ts b/apps/client/src/widgets/ribbon_widgets/book_properties_config.ts index c2522610a..6a5ac710a 100644 --- a/apps/client/src/widgets/ribbon_widgets/book_properties_config.ts +++ b/apps/client/src/widgets/ribbon_widgets/book_properties_config.ts @@ -30,19 +30,8 @@ interface BookContext { } export const bookPropertiesConfig: Record = { - calendar: { - properties: [ - { - label: t("book_properties_config.hide-weekends"), - type: "checkbox", - bindToLabel: "calendar:hideWeekends" - }, - { - label: t("book_properties_config.display-week-numbers"), - type: "checkbox", - bindToLabel: "calendar:weekNumbers" - } - ] + grid: { + properties: [] }, list: { properties: [ @@ -77,5 +66,25 @@ export const bookPropertiesConfig: Record = { }, } ] + }, + calendar: { + properties: [ + { + label: t("book_properties_config.hide-weekends"), + type: "checkbox", + bindToLabel: "calendar:hideWeekends" + }, + { + label: t("book_properties_config.display-week-numbers"), + type: "checkbox", + bindToLabel: "calendar:weekNumbers" + } + ] + }, + geoMap: { + properties: [] + }, + table: { + properties: [] } };