Node information dialog improvements

This commit is contained in:
piotrpekala7 2020-02-24 15:40:49 +01:00
parent f40b2c64c2
commit 62e0d64bf7
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ export class ShowNodeActionComponent {
showNode() {
const dialogRef = this.dialog.open(InfoDialogComponent, {
width: '600px',
maxHeight: '600px',
autoFocus: false
});
let instance = dialogRef.componentInstance;

View File

@ -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.';