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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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 { |
|
|
|
|