1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-21 03:43:58 +00:00

PM-20117 Add icons to app-icons

This commit is contained in:
voommen-livefront
2025-04-28 11:17:36 -05:00
parent c2c31e54c1
commit 8964ba20d6
3 changed files with 8 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ export type ApplicationHealthReportDetail = {
atRiskMemberCount: number;
memberDetails: MemberDetailsFlat[];
atRiskMemberDetails: MemberDetailsFlat[];
cipher: CipherView;
};
export type ApplicationHealthReportDetailWithCriticalFlag = ApplicationHealthReportDetail & {
@@ -48,6 +49,7 @@ export type CipherHealthReportUriDetail = {
exposedPasswordDetail: ExposedPasswordDetail;
cipherMembers: MemberDetailsFlat[];
trimmedUri: string;
cipher: CipherView;
};
/**

View File

@@ -355,6 +355,7 @@ export class RiskInsightsReportService {
atRiskMemberDetails: existingUriDetail ? existingUriDetail.atRiskMemberDetails : [],
atRiskPasswordCount: existingUriDetail ? existingUriDetail.atRiskPasswordCount : 0,
atRiskMemberCount: existingUriDetail ? existingUriDetail.atRiskMemberDetails.length : 0,
cipher: newUriDetail.cipher,
} as ApplicationHealthReportDetail;
if (isAtRisk) {
@@ -399,6 +400,7 @@ export class RiskInsightsReportService {
exposedPasswordDetail: detail.exposedPasswordDetail,
cipherMembers: detail.cipherMembers,
trimmedUri: uri,
cipher: detail as CipherView,
};
}

View File

@@ -6,6 +6,7 @@
>
<ng-container header>
<th *ngIf="isCriticalAppsFeatureEnabled"></th>
<th bitCell></th>
<th bitSortable="applicationName" bitCell>{{ "application" | i18n }}</th>
<th bitSortable="atRiskPasswordCount" bitCell>{{ "atRiskPasswords" | i18n }}</th>
<th bitSortable="passwordCount" bitCell>{{ "totalPasswords" | i18n }}</th>
@@ -34,6 +35,9 @@
>
<i class="bwi bwi-star-f" *ngIf="row.isMarkedAsCritical"></i>
</td>
<td bitCell>
<app-vault-icon [cipher]="row.cipher"></app-vault-icon>
</td>
<td
class="tw-cursor-pointer"
[ngClass]="{ 'tw-bg-primary-100': isDrawerIsOpenForThisRecord(row.applicationName) }"