1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-28 03:21:40 +01:00

[PM-18456] Display unassigned items in reports (#13612)

This commit is contained in:
Vijay Oommen 2025-02-27 14:49:13 -06:00 committed by GitHub
parent eaeea195e4
commit 0b6828a72b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 15 additions and 0 deletions

View File

@ -91,6 +91,9 @@ export class ExposedPasswordsReportComponent
}
canManageCipher(c: CipherView): boolean {
if (c.collectionIds.length === 0) {
return true;
}
return this.manageableCiphers.some((x) => x.id === c.id);
}
}

View File

@ -94,6 +94,9 @@ export class InactiveTwoFactorReportComponent
}
protected canManageCipher(c: CipherView): boolean {
if (c.collectionIds.length === 0) {
return true;
}
return this.manageableCiphers.some((x) => x.id === c.id);
}
}

View File

@ -89,6 +89,9 @@ export class ReusedPasswordsReportComponent
}
canManageCipher(c: CipherView): boolean {
if (c.collectionIds.length === 0) {
return true;
}
return this.manageableCiphers.some((x) => x.id === c.id);
}
}

View File

@ -94,6 +94,9 @@ export class UnsecuredWebsitesReportComponent
}
protected canManageCipher(c: CipherView): boolean {
if (c.collectionIds.length === 0) {
return true;
}
return this.manageableCiphers.some((x) => x.id === c.id);
}
}

View File

@ -93,6 +93,9 @@ export class WeakPasswordsReportComponent
}
canManageCipher(c: CipherView): boolean {
if (c.collectionIds.length === 0) {
return true;
}
return this.manageableCiphers.some((x) => x.id === c.id);
}
}