Merge pull request #4759 from vvlladd28/bugs/entities-table-widgets/detect-changes
UI: Fixed not updated view entities table widget, after updated values
This commit is contained in:
commit
7ae3eea216
@ -274,6 +274,7 @@ export class AlarmsTableWidgetComponent extends PageComponent implements OnInit,
|
|||||||
this.updateTitle(true);
|
this.updateTitle(true);
|
||||||
this.alarmsDatasource.updateAlarms();
|
this.alarmsDatasource.updateAlarms();
|
||||||
this.clearCache();
|
this.clearCache();
|
||||||
|
this.ctx.detectChanges();
|
||||||
}
|
}
|
||||||
|
|
||||||
public pageLinkSortDirection(): SortDirection {
|
public pageLinkSortDirection(): SortDirection {
|
||||||
|
|||||||
@ -47,7 +47,6 @@ import {
|
|||||||
isDefined,
|
isDefined,
|
||||||
isNumber,
|
isNumber,
|
||||||
isObject,
|
isObject,
|
||||||
isString,
|
|
||||||
isUndefined
|
isUndefined
|
||||||
} from '@core/utils';
|
} from '@core/utils';
|
||||||
import cssjs from '@core/css/css';
|
import cssjs from '@core/css/css';
|
||||||
@ -236,6 +235,7 @@ export class EntitiesTableWidgetComponent extends PageComponent implements OnIni
|
|||||||
this.updateTitle(true);
|
this.updateTitle(true);
|
||||||
this.entityDatasource.dataUpdated();
|
this.entityDatasource.dataUpdated();
|
||||||
this.clearCache();
|
this.clearCache();
|
||||||
|
this.ctx.detectChanges();
|
||||||
}
|
}
|
||||||
|
|
||||||
public pageLinkSortDirection(): SortDirection {
|
public pageLinkSortDirection(): SortDirection {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user