mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 15:28:47 +00:00
Added config for first day in week for calendar widget (#2080)
This commit is contained in:
parent
92bef4a283
commit
605042fb38
2 changed files with 8 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue