Upgrade packages and remove unused dependencies

This commit is contained in:
Kristóf Tóth
2019-08-12 14:45:21 +02:00
parent e85eee2ee9
commit 26b1deadf5
11 changed files with 1167 additions and 994 deletions

View File

@ -48,7 +48,7 @@ import { MonacoEditorModule } from 'ngx-monaco-editor';
BrowserModule,
FormsModule,
HttpClientModule,
NgbModule.forRoot(),
NgbModule,
AppRoutingModule,
MonacoEditorModule.forRoot()
],

View File

@ -22,9 +22,9 @@ export class DashboardComponent implements OnInit, OnDestroy {
deploying = false;
polling = false;
deploymentNotificationSubscription: Subscription;
@ViewChild('webiframe') webiframe: ElementRef;
@ViewChild('tfwmessages') messages: ElementRef;
@ViewChild('urlbar') urlbar: ElementRef;
@ViewChild('webiframe', {static: true}) webiframe: ElementRef;
@ViewChild('tfwmessages', {static: true}) messages: ElementRef;
@ViewChild('urlbar', {static: true}) urlbar: ElementRef;
layout: string = config.dashboard.currentLayout;
hideMessages: boolean = config.dashboard.hideMessages;

View File

@ -11,7 +11,7 @@ import { TerminadoService } from '../services/terminado.service';
styleUrls: ['./terminal.component.scss']
})
export class TerminalComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild('xterm') target: ElementRef;
@ViewChild('xterm', {static: true}) target: ElementRef;
constructor(private terminadoService: TerminadoService) { }