fixed toolbar state loading

This commit is contained in:
Eugene Pankov 2021-07-09 09:10:10 +02:00
parent 3db98aa421
commit 26ff6f17e7
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4
3 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,6 @@ import { SerialSession, BAUD_RATES, SerialProfile } from '../api'
animations: BaseTerminalTabComponent.animations,
})
export class SerialTabComponent extends BaseTerminalTabComponent {
enableToolbar = true
profile?: SerialProfile
session: SerialSession|null = null
serialPort: any
@ -25,6 +24,7 @@ export class SerialTabComponent extends BaseTerminalTabComponent {
private selector: SelectorService,
) {
super(injector)
this.enableToolbar = true
}
ngOnInit () {

View file

@ -17,7 +17,6 @@ import { SSHPortForwardingModalComponent } from './sshPortForwardingModal.compon
animations: BaseTerminalTabComponent.animations,
})
export class SSHTabComponent extends BaseTerminalTabComponent {
enableToolbar = true
Platform = Platform
profile?: SSHProfile
session: SSHSession|null = null
@ -33,6 +32,7 @@ export class SSHTabComponent extends BaseTerminalTabComponent {
private ngbModal: NgbModal,
) {
super(injector)
this.enableToolbar = true
}
ngOnInit (): void {

View file

@ -14,7 +14,6 @@ import { TelnetProfile, TelnetSession } from '../session'
animations: BaseTerminalTabComponent.animations,
})
export class TelnetTabComponent extends BaseTerminalTabComponent {
enableToolbar = true
Platform = Platform
profile?: TelnetProfile
session: TelnetSession|null = null
@ -25,6 +24,7 @@ export class TelnetTabComponent extends BaseTerminalTabComponent {
injector: Injector,
) {
super(injector)
this.enableToolbar = true
}
ngOnInit (): void {