mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-02-01 00:45:53 +00:00
Merge pull request #709 from GNS3/Node-information-dialog-improvements
Node information dialog improvements
This commit is contained in:
commit
e6c9df863c
@ -17,6 +17,7 @@ export class ShowNodeActionComponent {
|
||||
showNode() {
|
||||
const dialogRef = this.dialog.open(InfoDialogComponent, {
|
||||
width: '600px',
|
||||
maxHeight: '600px',
|
||||
autoFocus: false,
|
||||
disableClose: true
|
||||
});
|
||||
|
@ -67,7 +67,7 @@ export class InfoService {
|
||||
node.node_type === "iou") {
|
||||
return 'Command line information is not supported for this type of node.';
|
||||
} else {
|
||||
if (node.status === 'started') {
|
||||
if (node.command_line) {
|
||||
return node.command_line;
|
||||
} else {
|
||||
return 'Please start the node in order to get the command line information.';
|
||||
|
Loading…
x
Reference in New Issue
Block a user