1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 06:43:35 +00:00

[PM-22520] Settings Berry will account for Autofill Badge (#15170)

This commit is contained in:
Jason Ng
2025-06-16 09:56:39 -04:00
committed by GitHub
parent 4ddff8abb0
commit 8505686006

View File

@@ -159,7 +159,11 @@ export class NudgesService {
*/ */
hasActiveBadges$(userId: UserId): Observable<boolean> { hasActiveBadges$(userId: UserId): Observable<boolean> {
// Add more nudge types here if they have the settings badge feature // Add more nudge types here if they have the settings badge feature
const nudgeTypes = [NudgeType.EmptyVaultNudge, NudgeType.DownloadBitwarden]; const nudgeTypes = [
NudgeType.EmptyVaultNudge,
NudgeType.DownloadBitwarden,
NudgeType.AutofillNudge,
];
const nudgeTypesWithBadge$ = nudgeTypes.map((nudge) => { const nudgeTypesWithBadge$ = nudgeTypes.map((nudge) => {
return this.getNudgeService(nudge) return this.getNudgeService(nudge)