mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
[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
This commit is contained in:
@@ -143,7 +143,10 @@ export class SshAgentService implements OnDestroy {
|
|||||||
|
|
||||||
if (isListRequest) {
|
if (isListRequest) {
|
||||||
const sshCiphers = ciphers.filter(
|
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) => {
|
const keys = sshCiphers.map((cipher) => {
|
||||||
return {
|
return {
|
||||||
@@ -247,7 +250,7 @@ export class SshAgentService implements OnDestroy {
|
|||||||
(cipher) =>
|
(cipher) =>
|
||||||
cipher.type === CipherType.SshKey &&
|
cipher.type === CipherType.SshKey &&
|
||||||
!cipher.isDeleted &&
|
!cipher.isDeleted &&
|
||||||
cipher.organizationId === null,
|
cipher.organizationId == null,
|
||||||
);
|
);
|
||||||
const keys = sshCiphers.map((cipher) => {
|
const keys = sshCiphers.map((cipher) => {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user