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:
parent
d1f5ebd546
commit
3c90e904fc
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user