From 26ff6f17e738a55c36075a2a5a184c2298dca7cc Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Fri, 9 Jul 2021 09:10:10 +0200 Subject: [PATCH] fixed toolbar state loading --- tabby-serial/src/components/serialTab.component.ts | 2 +- tabby-ssh/src/components/sshTab.component.ts | 2 +- tabby-telnet/src/components/telnetTab.component.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tabby-serial/src/components/serialTab.component.ts b/tabby-serial/src/components/serialTab.component.ts index 36bc85c3..659df867 100644 --- a/tabby-serial/src/components/serialTab.component.ts +++ b/tabby-serial/src/components/serialTab.component.ts @@ -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 () { diff --git a/tabby-ssh/src/components/sshTab.component.ts b/tabby-ssh/src/components/sshTab.component.ts index d4736592..69af4f8b 100644 --- a/tabby-ssh/src/components/sshTab.component.ts +++ b/tabby-ssh/src/components/sshTab.component.ts @@ -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 { diff --git a/tabby-telnet/src/components/telnetTab.component.ts b/tabby-telnet/src/components/telnetTab.component.ts index 87d0db9f..d310b3dd 100644 --- a/tabby-telnet/src/components/telnetTab.component.ts +++ b/tabby-telnet/src/components/telnetTab.component.ts @@ -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 {