Merge pull request #457 from Domain/master

fix #456
This commit is contained in:
Eugene 2018-10-09 08:10:53 +02:00 committed by GitHub
commit a18124043c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,10 @@ export class SSHModalComponent {
this.close()
this.ssh.connect(connection).catch(error => {
this.toastr.error(`Could not connect: ${error}`)
}).then(() => {
setTimeout(() => {
this.app.activeTab.emitFocused()
})
})
}