mirror of
https://github.com/eugeny/tabby
synced 2025-12-16 12:45:48 +00:00
@@ -54,6 +54,11 @@ export class SSHModalComponent {
|
||||
this.connect(connection)
|
||||
}
|
||||
|
||||
clearLastConnection () {
|
||||
window.localStorage.lastConnection = null
|
||||
this.lastConnection = null
|
||||
}
|
||||
|
||||
connect (connection: SSHConnection) {
|
||||
this.close()
|
||||
this.ssh.connect(connection).catch(error => {
|
||||
|
||||
Reference in New Issue
Block a user