1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00

[PM-25633] - [Defect] Fix premium badge in totp (#16373)

* fixes to premium upgrade

* revert change to dialog

* handle premium upgrade prompt redirect in AC

* use new input/output api
This commit is contained in:
Jordan Aasen
2025-09-11 12:15:29 -07:00
committed by GitHub
parent 31d5b639e9
commit db9061d120
5 changed files with 21 additions and 7 deletions

View File

@@ -1033,6 +1033,12 @@ export class vNextVaultComponent implements OnInit, OnDestroy {
this.refresh();
}
// When the dialog is closed for a premium upgrade, return early as the user
// should be navigated to the subscription settings elsewhere
if (result === VaultItemDialogResult.PremiumUpgrade) {
return;
}
// Clear the query params when the dialog closes
await this.go({ cipherId: null, itemId: null, action: null });
}