From aaab475e5f8d0af3f62d37146b3c05ff7be55b05 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sun, 3 Jan 2021 18:33:03 +0100 Subject: [PATCH] fixed ssh sessions - fixes #3282 --- terminus-terminal/src/api/baseTerminalTab.component.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/terminus-terminal/src/api/baseTerminalTab.component.ts b/terminus-terminal/src/api/baseTerminalTab.component.ts index d9a20a25..07b444dc 100644 --- a/terminus-terminal/src/api/baseTerminalTab.component.ts +++ b/terminus-terminal/src/api/baseTerminalTab.component.ts @@ -217,10 +217,6 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit /** @hidden */ ngOnInit (): void { - if (!this.session) { - throw new Error('No session set on the tab object by the time ngOnInit is called') - } - this.focused$.subscribe(() => { this.configure() this.frontend?.focus()