From a80d289b1bfe582cbf84b98de90c37e813c83cba Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 27 Mar 2025 15:10:06 +0100 Subject: [PATCH] [PM-17809] Fix org-owned ssh showing up in ssh list request (#13175) * Fix org keys showing up in list request * Change from tripleequal to double equal --- apps/desktop/src/autofill/services/ssh-agent.service.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/autofill/services/ssh-agent.service.ts b/apps/desktop/src/autofill/services/ssh-agent.service.ts index bf7167c0240..6522ef19500 100644 --- a/apps/desktop/src/autofill/services/ssh-agent.service.ts +++ b/apps/desktop/src/autofill/services/ssh-agent.service.ts @@ -143,7 +143,10 @@ export class SshAgentService implements OnDestroy { if (isListRequest) { const sshCiphers = ciphers.filter( - (cipher) => cipher.type === CipherType.SshKey && !cipher.isDeleted, + (cipher) => + cipher.type === CipherType.SshKey && + !cipher.isDeleted && + cipher.organizationId == null, ); const keys = sshCiphers.map((cipher) => { return { @@ -247,7 +250,7 @@ export class SshAgentService implements OnDestroy { (cipher) => cipher.type === CipherType.SshKey && !cipher.isDeleted && - cipher.organizationId === null, + cipher.organizationId == null, ); const keys = sshCiphers.map((cipher) => { return {