mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-02-21 02:01:19 +00:00
Updating node converters
This commit is contained in:
parent
c2c74f34ea
commit
f6f7ceb627
@ -17,6 +17,7 @@ export class MapNodeToNodeConverter implements Converter<MapNode, Node> {
|
||||
node.compute_id = mapNode.computeId;
|
||||
node.console = mapNode.console;
|
||||
node.console_host = mapNode.consoleHost;
|
||||
node.console_type = mapNode.consoleType;
|
||||
node.first_port_name = mapNode.firstPortName;
|
||||
node.height = mapNode.height;
|
||||
node.label = mapNode.label ? this.mapLabelToLabel.convert(mapNode.label) : undefined;
|
||||
|
@ -26,6 +26,7 @@ export class NodeToMapNodeConverter implements Converter<Node, MapNode> {
|
||||
mapNode.computeId = node.compute_id;
|
||||
mapNode.console = node.console;
|
||||
mapNode.consoleHost = node.console_host;
|
||||
mapNode.consoleType = node.console_type;
|
||||
mapNode.firstPortName = node.first_port_name;
|
||||
mapNode.height = node.height;
|
||||
mapNode.label = this.labelToMapLabel ? this.labelToMapLabel.convert(node.label, { node_id: node.node_id }) : undefined;
|
||||
|
Loading…
x
Reference in New Issue
Block a user