mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 02:33:46 +00:00
[PM-21663] nudge service name refactor (#14789)
* update names of vault nudge service and their corresponding files, convert components using showNudge$ to instead target spotlight and badges directly with new observables. Core logic for dismiss remains the same
This commit is contained in:
@@ -36,7 +36,7 @@ import {
|
||||
CipherFormGenerationService,
|
||||
NudgeStatus,
|
||||
PasswordRepromptService,
|
||||
VaultNudgesService,
|
||||
NudgesService,
|
||||
} from "@bitwarden/vault";
|
||||
// FIXME: remove `/apps` import from `/libs`
|
||||
// FIXME: remove `src` and fix import
|
||||
@@ -144,7 +144,7 @@ export default {
|
||||
],
|
||||
providers: [
|
||||
{
|
||||
provide: VaultNudgesService,
|
||||
provide: NudgesService,
|
||||
useValue: {
|
||||
showNudge$: new BehaviorSubject({
|
||||
hasBadgeDismissed: true,
|
||||
|
||||
Reference in New Issue
Block a user