diff --git a/.run/[CE Edge] Server.run.xml b/.run/[CE Edge] Server.run.xml
index 89667da5db..e13a1b0574 100644
--- a/.run/[CE Edge] Server.run.xml
+++ b/.run/[CE Edge] Server.run.xml
@@ -9,6 +9,7 @@
+
diff --git a/ui-ngx/src/app/modules/home/pages/dashboard/dashboards-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/dashboard/dashboards-table-config.resolver.ts
index 0c4d68d435..7ea931f3ab 100644
--- a/ui-ngx/src/app/modules/home/pages/dashboard/dashboards-table-config.resolver.ts
+++ b/ui-ngx/src/app/modules/home/pages/dashboard/dashboards-table-config.resolver.ts
@@ -132,8 +132,9 @@ export class DashboardsTableConfigResolver implements Resolve
- this.config.tableTitle = edge.name + ': ' + this.translate.instant('dashboard.dashboards'))).subscribe();
+ this.edgeService.getEdge(this.config.componentsData.edgeId).subscribe(
+ edge => this.config.tableTitle = edge.name + ': ' + this.translate.instant('dashboard.dashboards')
+ );
} else {
this.config.tableTitle = this.translate.instant('dashboard.dashboards');
}
diff --git a/ui-ngx/src/app/modules/home/pages/device/devices-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/device/devices-table-config.resolver.ts
index 8c6e237b43..ccf0a34437 100644
--- a/ui-ngx/src/app/modules/home/pages/device/devices-table-config.resolver.ts
+++ b/ui-ngx/src/app/modules/home/pages/device/devices-table-config.resolver.ts
@@ -142,8 +142,9 @@ export class DevicesTableConfigResolver implements Resolve
- this.config.tableTitle = edge.name + ': ' + this.translate.instant('device.devices'))).subscribe();
+ this.edgeService.getEdge(this.edgeId).subscribe(
+ edge => this.config.tableTitle = edge.name + ': ' + this.translate.instant('device.devices')
+ );
} else {
this.config.tableTitle = this.translate.instant('device.devices');
}
diff --git a/ui-ngx/src/app/modules/home/pages/entity-view/entity-views-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/entity-view/entity-views-table-config.resolver.ts
index d0c6102288..60342a0bb3 100644
--- a/ui-ngx/src/app/modules/home/pages/entity-view/entity-views-table-config.resolver.ts
+++ b/ui-ngx/src/app/modules/home/pages/entity-view/entity-views-table-config.resolver.ts
@@ -137,8 +137,9 @@ export class EntityViewsTableConfigResolver implements Resolve
- this.config.tableTitle = edge.name + ': ' + this.translate.instant('entity-view.entity-views'))).subscribe();
+ this.edgeService.getEdge(this.edgeId).subscribe(
+ edge => this.config.tableTitle = edge.name + ': ' + this.translate.instant('entity-view.entity-views')
+ );
}
else {
this.config.tableTitle = this.translate.instant('entity-view.entity-views');
diff --git a/ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts
index bd8c9b8e1a..c6a842dc7c 100644
--- a/ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts
+++ b/ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts
@@ -155,11 +155,11 @@ export class RuleChainsTableConfigResolver implements Resolve this.fetchEdgeRuleChains(pageLink);
} else if (ruleChainScope === 'edge') {
if (isDefined(this.edgeId) && this.edgeId != null) {
- this.edgeService.getEdge(this.edgeId)
- .pipe(map(edge => {
+ this.edgeService.getEdge(this.edgeId).subscribe(
+ edge => {
this.edge = edge;
this.config.tableTitle = edge.name + ': ' + this.translate.instant('rulechain.edge-rulechains')
- })).subscribe();
+ });
}
this.config.entitiesFetchFunction = pageLink => this.ruleChainService.getEdgeRuleChains(this.edgeId, pageLink);
}