diff --git a/apps/client/src/widgets/note_bars/CollectionProperties.tsx b/apps/client/src/widgets/note_bars/CollectionProperties.tsx index 5f53f5685..7042e80d3 100644 --- a/apps/client/src/widgets/note_bars/CollectionProperties.tsx +++ b/apps/client/src/widgets/note_bars/CollectionProperties.tsx @@ -67,6 +67,7 @@ function ViewOptions({ note, viewType }: { note: FNote, viewType: ViewTypeOption @@ -126,6 +127,7 @@ function CheckBoxPropertyView({ note, property }: { note: FNote, property: Check const [ value, setValue ] = useNoteLabelBoolean(note, property.bindToLabel); return ( + bindToLabel: FilterLabelsByType; + icon?: string; } export interface ButtonProperty { @@ -107,11 +108,13 @@ export const bookPropertiesConfig: Record = { properties: [ { label: t("book_properties_config.hide-weekends"), + icon: "bx bx-calendar-week", type: "checkbox", bindToLabel: "calendar:hideWeekends" }, { label: t("book_properties_config.display-week-numbers"), + icon: "bx bx-hash", type: "checkbox", bindToLabel: "calendar:weekNumbers" } @@ -147,6 +150,7 @@ export const bookPropertiesConfig: Record = { }, { label: t("book_properties_config.show-scale"), + icon: "bx bx-ruler", type: "checkbox", bindToLabel: "map:scale" }