Merge pull request #7824 from vvlladd28/bug/alarm-table/update-timewindow

Fixed incorrect updated timewindow in Alarm table
This commit is contained in:
Igor Kulikov 2022-12-21 17:34:49 +02:00 committed by GitHub
commit c12ab39ff4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,6 +204,7 @@ export class WidgetSubscription implements IWidgetSubscription {
this.timeWindow = {};
this.useDashboardTimewindow = options.useDashboardTimewindow;
this.useTimewindow = true;
this.onTimewindowChangeFunction = options.onTimewindowChangeFunction || ((timewindow) => timewindow);
if (this.useDashboardTimewindow) {
this.timeWindowConfig = deepClone(options.dashboardTimewindow);
} else {