mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-17 14:28:13 +00:00
Bug fixes
This commit is contained in:
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
</mat-tab-group>
|
</mat-tab-group>
|
||||||
|
|
||||||
<app-log-console [hidden]="!(selected.value===0)" [server]="server" [project]="project" (closeConsole)='toggleShowConsole($event)'></app-log-console>
|
<app-log-console [hidden]="!(selected.value===0)" [server]="server" [project]="project"></app-log-console>
|
||||||
|
|
||||||
<div *ngFor="let node of nodes; let index = index">
|
<div *ngFor="let node of nodes; let index = index">
|
||||||
<app-web-console [hidden]="!(selected.value===(index+1))" [server]="server" [node]="nodes[index]"></app-web-console>
|
<app-web-console [hidden]="!(selected.value===(index+1))" [server]="server" [node]="nodes[index]"></app-web-console>
|
||||||
|
@ -26,7 +26,6 @@ import { FormControl } from '@angular/forms';
|
|||||||
export class LogConsoleComponent implements OnInit, AfterViewInit, OnDestroy {
|
export class LogConsoleComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
@Input() server: Server;
|
@Input() server: Server;
|
||||||
@Input() project: Project;
|
@Input() project: Project;
|
||||||
@Output() closeConsole = new EventEmitter<boolean>();
|
|
||||||
|
|
||||||
@ViewChild('console', {static: false}) console: ElementRef;
|
@ViewChild('console', {static: false}) console: ElementRef;
|
||||||
|
|
||||||
@ -323,8 +322,4 @@ export class LogConsoleComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
y: ${drawing.y},
|
y: ${drawing.y},
|
||||||
z: ${drawing.z}`;
|
z: ${drawing.z}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
|
||||||
this.closeConsole.emit(false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
<div [style.visibility]="visible ? 'hidden' : 'visible' " #terminal id="terminal"></div>
|
<div #terminal id="terminal"></div>
|
||||||
|
Reference in New Issue
Block a user