1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-25 03:22:58 +03:00

fixed ssh sessions - fixes #3282

This commit is contained in:
Eugene Pankov 2021-01-03 18:33:03 +01:00
parent e6bf76c616
commit aaab475e5f
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -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()