From 3c90e904fca30a7f16474270850233429d261218 Mon Sep 17 00:00:00 2001 From: Nikolaos Stefanou Date: Thu, 12 Mar 2020 09:12:57 +0000 Subject: [PATCH] fixed logic bug when deleting from history --- terminus-ssh/src/components/sshModal.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminus-ssh/src/components/sshModal.component.ts b/terminus-ssh/src/components/sshModal.component.ts index 0d862841..f442e167 100644 --- a/terminus-ssh/src/components/sshModal.component.ts +++ b/terminus-ssh/src/components/sshModal.component.ts @@ -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()