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:
parent
eaeea195e4
commit
0b6828a72b
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user