Bug fixes

This commit is contained in:
piotrpekala7 2020-03-28 19:28:31 +01:00
parent bb75727aaf
commit 7393fd52e1
3 changed files with 2 additions and 7 deletions

View File

@ -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>

View File

@ -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);
}
}

View File

@ -1 +1 @@
<div [style.visibility]="visible ? 'hidden' : 'visible' " #terminal id="terminal"></div>
<div #terminal id="terminal"></div>