mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-06 08:31:54 +00:00
ref(connectable tab) getRecoveryToken method
This commit is contained in:
@@ -73,14 +73,6 @@ export class TelnetTabComponent extends ConnectableTerminalTabComponent<TelnetPr
|
||||
}
|
||||
}
|
||||
|
||||
async getRecoveryToken (options?: GetRecoveryTokenOptions): Promise<RecoveryToken> {
|
||||
return {
|
||||
type: 'app:telnet-tab',
|
||||
profile: this.profile,
|
||||
savedState: options?.includeState && this.frontend?.saveState(),
|
||||
}
|
||||
}
|
||||
|
||||
async canClose (): Promise<boolean> {
|
||||
if (!this.session?.open) {
|
||||
return true
|
||||
|
Reference in New Issue
Block a user