* [#341] added show week number toggle
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user