mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-16 14:38:52 +00:00
Bug fixes
This commit is contained in:
parent
bb75727aaf
commit
7393fd52e1
@ -33,7 +33,7 @@
|
||||
|
||||
</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">
|
||||
<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 {
|
||||
@Input() server: Server;
|
||||
@Input() project: Project;
|
||||
@Output() closeConsole = new EventEmitter<boolean>();
|
||||
|
||||
@ViewChild('console', {static: false}) console: ElementRef;
|
||||
|
||||
@ -323,8 +322,4 @@ export class LogConsoleComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||
y: ${drawing.y},
|
||||
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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user