UI: Fixed detect changes for tables

This commit is contained in:
Artem Dzhereleiko 2025-06-30 17:45:04 +03:00
parent 09c5f0fdc9
commit 4d4d16520d
2 changed files with 2 additions and 0 deletions

View File

@ -340,6 +340,7 @@ export class AlarmsTableWidgetComponent extends PageComponent implements OnInit,
public onDataUpdated() { public onDataUpdated() {
this.alarmsDatasource.updateAlarms(); this.alarmsDatasource.updateAlarms();
this.clearCache(); this.clearCache();
this.ctx.detectChanges();
} }
public onEditModeChanged() { public onEditModeChanged() {

View File

@ -275,6 +275,7 @@ export class EntitiesTableWidgetComponent extends PageComponent implements OnIni
public onDataUpdated() { public onDataUpdated() {
this.entityDatasource.dataUpdated(); this.entityDatasource.dataUpdated();
this.clearCache(); this.clearCache();
this.ctx.detectChanges();
} }
public onEditModeChanged() { public onEditModeChanged() {