Browse Source

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

Fixed incorrect updated timewindow in Alarm table
pull/7837/head
Igor Kulikov 4 years ago
committed by GitHub
parent
commit
c12ab39ff4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      ui-ngx/src/app/core/api/widget-subscription.ts

1
ui-ngx/src/app/core/api/widget-subscription.ts

@ -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 {

Loading…
Cancel
Save