Browse Source
Merge pull request #13659 from ArtemDzhereleiko/AD/bug-fix/table-detect-changes
Fixed detect changes for entities and alarm tables
pull/13662/head
Vladyslav Prykhodko
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
0 deletions
-
ui-ngx/src/app/modules/home/components/widget/lib/alarm/alarms-table-widget.component.ts
-
ui-ngx/src/app/modules/home/components/widget/lib/entity/entities-table-widget.component.ts
|
|
@ -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() { |
|
|
|
|
|
@ -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() { |
|
|
|