mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 01:17:14 +00:00
more tab saving fixes
This commit is contained in:
parent
bfd34df41e
commit
9c19307181
2 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ export class SSHTabComponent extends BaseTerminalTabComponent {
|
|||
return {
|
||||
type: 'app:ssh-tab',
|
||||
connection: this.connection,
|
||||
savedState: this.frontend.saveState(),
|
||||
savedState: this.frontend?.saveState(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ export class TerminalTabComponent extends BaseTerminalTabComponent {
|
|||
...this.sessionOptions,
|
||||
cwd: cwd || this.sessionOptions.cwd,
|
||||
},
|
||||
savedState: this.frontend.saveState(),
|
||||
savedState: this.frontend?.saveState(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue