Browse Source
Merge pull request #4759 from vvlladd28/bugs/entities-table-widgets/detect-changes
UI: Fixed not updated view entities table widget, after updated values
pull/4772/head
Igor Kulikov
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
1 deletions
-
ui-ngx/src/app/modules/home/components/widget/lib/alarms-table-widget.component.ts
-
ui-ngx/src/app/modules/home/components/widget/lib/entities-table-widget.component.ts
|
|
|
@ -274,6 +274,7 @@ export class AlarmsTableWidgetComponent extends PageComponent implements OnInit, |
|
|
|
this.updateTitle(true); |
|
|
|
this.alarmsDatasource.updateAlarms(); |
|
|
|
this.clearCache(); |
|
|
|
this.ctx.detectChanges(); |
|
|
|
} |
|
|
|
|
|
|
|
public pageLinkSortDirection(): SortDirection { |
|
|
|
|
|
|
|
@ -47,7 +47,6 @@ import { |
|
|
|
isDefined, |
|
|
|
isNumber, |
|
|
|
isObject, |
|
|
|
isString, |
|
|
|
isUndefined |
|
|
|
} from '@core/utils'; |
|
|
|
import cssjs from '@core/css/css'; |
|
|
|
@ -236,6 +235,7 @@ export class EntitiesTableWidgetComponent extends PageComponent implements OnIni |
|
|
|
this.updateTitle(true); |
|
|
|
this.entityDatasource.dataUpdated(); |
|
|
|
this.clearCache(); |
|
|
|
this.ctx.detectChanges(); |
|
|
|
} |
|
|
|
|
|
|
|
public pageLinkSortDirection(): SortDirection { |
|
|
|
|