mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-06-28 13:55:12 +00:00
Upgrade packages and remove unused dependencies
This commit is contained in:
@ -48,7 +48,7 @@ import { MonacoEditorModule } from 'ngx-monaco-editor';
|
||||
BrowserModule,
|
||||
FormsModule,
|
||||
HttpClientModule,
|
||||
NgbModule.forRoot(),
|
||||
NgbModule,
|
||||
AppRoutingModule,
|
||||
MonacoEditorModule.forRoot()
|
||||
],
|
||||
|
@ -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;
|
||||
|
@ -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) { }
|
||||
|
||||
|
Reference in New Issue
Block a user