mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
Added config for first day in week for calendar widget (#2080)
This commit is contained in:
@@ -358,6 +358,7 @@ export function cleanServiceGroups(groups) {
|
||||
mappings, // customapi widget
|
||||
refreshInterval,
|
||||
integrations, // calendar widget
|
||||
firstDayInWeek,
|
||||
} = cleanedService.widget;
|
||||
|
||||
let fieldsList = fields;
|
||||
@@ -443,6 +444,7 @@ export function cleanServiceGroups(groups) {
|
||||
}
|
||||
if (type === "calendar") {
|
||||
if (integrations) cleanedService.widget.integrations = integrations;
|
||||
if (firstDayInWeek) cleanedService.widget.firstDayInWeek = firstDayInWeek;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user