mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +00:00
[PM-18456] Display unassigned items in reports (#13612)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user