1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-30 02:54:04 +03:00

more tab saving fixes

This commit is contained in:
Eugene Pankov 2020-02-05 14:52:33 +03:00
parent bfd34df41e
commit 9c19307181
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ export class SSHTabComponent extends BaseTerminalTabComponent {
return { return {
type: 'app:ssh-tab', type: 'app:ssh-tab',
connection: this.connection, connection: this.connection,
savedState: this.frontend.saveState(), savedState: this.frontend?.saveState(),
} }
} }

View File

@ -65,7 +65,7 @@ export class TerminalTabComponent extends BaseTerminalTabComponent {
...this.sessionOptions, ...this.sessionOptions,
cwd: cwd || this.sessionOptions.cwd, cwd: cwd || this.sessionOptions.cwd,
}, },
savedState: this.frontend.saveState(), savedState: this.frontend?.saveState(),
} }
} }