1
1
mirror of https://github.com/Eugeny/tabby.git synced 2025-01-03 16:12:50 +03:00

fixed logic bug when deleting from history

This commit is contained in:
Nikolaos Stefanou 2020-03-12 09:12:57 +00:00
parent d1f5ebd546
commit 3c90e904fc
No known key found for this signature in database
GPG Key ID: 904BA59F31C48FB6

View File

@ -64,7 +64,7 @@ export class SSHModalComponent {
clearConnection (connection) {
this.recentConnections = this.recentConnections.filter(function (el) {
return el === connection
return el !== connection
})
this.config.store.ssh.recentConnections = this.recentConnections
this.config.save()