Configurator for node {{node.name}}
+Configurator for node {{name}}
diff --git a/src/app/components/project-map/node-editors/configurator/ethernet_hub/configurator-ethernet-hub.component.ts b/src/app/components/project-map/node-editors/configurator/ethernet_hub/configurator-ethernet-hub.component.ts
index ebc74b47..fe6d969b 100644
--- a/src/app/components/project-map/node-editors/configurator/ethernet_hub/configurator-ethernet-hub.component.ts
+++ b/src/app/components/project-map/node-editors/configurator/ethernet_hub/configurator-ethernet-hub.component.ts
@@ -20,6 +20,7 @@ export class ConfiguratorDialogEthernetHubComponent implements OnInit {
inputForm: FormGroup;
consoleTypes: string[] = [];
categories = [];
+ name: string;
constructor(
public dialogRef: MatDialogRef,
@@ -36,6 +37,7 @@ export class ConfiguratorDialogEthernetHubComponent implements OnInit {
ngOnInit() {
this.nodeService.getNode(this.server, this.node).subscribe((node: Node) => {
this.node = node;
+ this.name = this.node.name;
this.numberOfPorts = this.node.ports.length;
this.getConfiguration();
})
diff --git a/src/app/components/project-map/node-editors/configurator/vpcs/configurator-vpcs.component.html b/src/app/components/project-map/node-editors/configurator/vpcs/configurator-vpcs.component.html
index e4edc149..c431fe58 100644
--- a/src/app/components/project-map/node-editors/configurator/vpcs/configurator-vpcs.component.html
+++ b/src/app/components/project-map/node-editors/configurator/vpcs/configurator-vpcs.component.html
@@ -1,4 +1,4 @@
-
Configurator for node {{node.name}}
+Configurator for node {{name}}
diff --git a/src/app/components/project-map/node-editors/configurator/vpcs/configurator-vpcs.component.ts b/src/app/components/project-map/node-editors/configurator/vpcs/configurator-vpcs.component.ts
index 0ff0526b..9c802eed 100644
--- a/src/app/components/project-map/node-editors/configurator/vpcs/configurator-vpcs.component.ts
+++ b/src/app/components/project-map/node-editors/configurator/vpcs/configurator-vpcs.component.ts
@@ -16,7 +16,7 @@ import { MatDialogRef } from '@angular/material';
export class ConfiguratorDialogVpcsComponent implements OnInit {
server: Server;
node: Node;
-
+ name: string;
inputForm: FormGroup;
consoleTypes: string[] = [];
@@ -35,6 +35,7 @@ export class ConfiguratorDialogVpcsComponent implements OnInit {
ngOnInit() {
this.nodeService.getNode(this.server, this.node).subscribe((node: Node) => {
this.node = node;
+ this.name = node.name;
this.getConfiguration();
})
}