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:
parent
bfd34df41e
commit
9c19307181
@ -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(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user