[#341] added show week number toggle (#399)

* [#341] added show week number toggle
This commit is contained in:
Camille Moussu
2025-12-11 11:41:38 +01:00
committed by GitHub
parent 3cb445ea79
commit e8b1b72901
8 changed files with 114 additions and 32 deletions
+7
View File
@@ -38,6 +38,7 @@ export interface UserConfigurationUpdates {
language?: string;
notifications?: Record<string, unknown>;
timezone?: string | null;
displayWeekNumbers?: boolean;
previousConfig?: Record<string, any>;
alarmEmails?: boolean;
hideDeclinedEvents?: boolean;
@@ -77,6 +78,12 @@ export async function updateUserConfigurations(
value: updates.hideDeclinedEvents,
});
}
if (updates.displayWeekNumbers !== undefined) {
calendarConfigs.push({
name: "displayWeekNumbers",
value: updates.displayWeekNumbers,
});
}
const modules: Array<{
name: string;