Added config for first day in week for calendar widget (#2080)

This commit is contained in:
Denis Papec 2023-09-28 23:24:37 +01:00 committed by GitHub
parent 92bef4a283
commit 605042fb38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View file

@ -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;
}
}