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

This commit is contained in:
Denis Papec authored and GitHub committed 2023-09-28 15:24:37 -07:00
1 parent 92bef4a283
commit 605042fb38
2 files changed
+8 -5

No files matched your search

+2
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;
}
}