Fix: calendar timezone performance improvements (#2668)

This commit is contained in:
Denis Papec 2024-01-17 23:00:51 +00:00 committed by GitHub
parent 93dc6db4ef
commit 72efd9a08d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 25 additions and 28 deletions

View file

@ -368,6 +368,7 @@ export function cleanServiceGroups(groups) {
showTime,
previousDays,
view,
timezone,
// coinmarketcap
currency,
@ -538,6 +539,7 @@ export function cleanServiceGroups(groups) {
if (maxEvents) cleanedService.widget.maxEvents = maxEvents;
if (previousDays) cleanedService.widget.previousDays = previousDays;
if (showTime) cleanedService.widget.showTime = showTime;
if (timezone) cleanedService.widget.timezone = timezone;
}
if (type === "healthchecks") {
if (uuid !== undefined) cleanedService.widget.uuid = uuid;