Commit 248e35cb249eff03b25e8b983701181191e0ada1

Authored by Vladyslav_Prykhodko
1 parent 5a0336aa

UI: Fixed not updated view entities table, after updated values

... ... @@ -274,6 +274,7 @@ export class AlarmsTableWidgetComponent extends PageComponent implements OnInit,
274 274 this.updateTitle(true);
275 275 this.alarmsDatasource.updateAlarms();
276 276 this.clearCache();
  277 + this.ctx.detectChanges();
277 278 }
278 279
279 280 public pageLinkSortDirection(): SortDirection {
... ...
... ... @@ -47,7 +47,6 @@ import {
47 47 isDefined,
48 48 isNumber,
49 49 isObject,
50   - isString,
51 50 isUndefined
52 51 } from '@core/utils';
53 52 import cssjs from '@core/css/css';
... ... @@ -236,6 +235,7 @@ export class EntitiesTableWidgetComponent extends PageComponent implements OnIni
236 235 this.updateTitle(true);
237 236 this.entityDatasource.dataUpdated();
238 237 this.clearCache();
  238 + this.ctx.detectChanges();
239 239 }
240 240
241 241 public pageLinkSortDirection(): SortDirection {
... ...