Commit 7ae3eea2160cf4d653f6ccede76eb47b2e1ed409
Committed by
GitHub
Merge pull request #4759 from vvlladd28/bugs/entities-table-widgets/detect-changes
UI: Fixed not updated view entities table widget, after updated values
Showing
2 changed files
with
2 additions
and
1 deletions
... | ... | @@ -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 { | ... | ... |