mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-20 11:38:59 +00:00
Update info-dialog-component
This commit is contained in:
parent
672c6577e2
commit
0524099dce
@ -14,7 +14,7 @@
|
||||
Please start the node in order to get the command line information.
|
||||
</div>
|
||||
<div class="textBox">
|
||||
{{command_line}}
|
||||
{{commandLine}}
|
||||
</div>
|
||||
</mat-tab>
|
||||
</mat-tab-group>
|
||||
|
@ -56,7 +56,15 @@ export class InfoService {
|
||||
}
|
||||
|
||||
getCommandLine(node: Node): string {
|
||||
if (node.node_type === 'cloud' || "nat" || "ethernet_hub" || "ethernet_switch" || "frame_relay_switch" || "atm_switch" || "dynamips" || "traceng" || "iou") {
|
||||
if (node.node_type === "cloud" ||
|
||||
node.node_type === "nat" ||
|
||||
node.node_type === "ethernet_hub" ||
|
||||
node.node_type === "ethernet_switch" ||
|
||||
node.node_type === "frame_relay_switch" ||
|
||||
node.node_type === "atm_switch" ||
|
||||
node.node_type === "dynamips" ||
|
||||
node.node_type === "traceng" ||
|
||||
node.node_type === "iou") {
|
||||
return 'Command line information is not supported for this type of node.';
|
||||
} else {
|
||||
if (node.status === 'started') {
|
||||
|
Loading…
Reference in New Issue
Block a user