mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +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:
@@ -124,7 +124,7 @@
|
||||
<bit-label [appTextDrag]="totpCodeCopyObj?.totpCode">
|
||||
<div class="tw-flex tw-items-center tw-gap-3">
|
||||
{{ "verificationCodeTotp" | i18n }}
|
||||
<app-premium-badge></app-premium-badge>
|
||||
<app-premium-badge [skipMessaging]="true" (onClick)="getPremium()"></app-premium-badge>
|
||||
</div>
|
||||
</bit-label>
|
||||
<input
|
||||
|
||||
@@ -107,8 +107,8 @@ export class LoginCredentialsViewComponent implements OnChanges {
|
||||
}
|
||||
}
|
||||
|
||||
async getPremium(organizationId?: string) {
|
||||
await this.premiumUpgradeService.promptForPremium(organizationId);
|
||||
async getPremium() {
|
||||
await this.premiumUpgradeService.promptForPremium(this.cipher.organizationId);
|
||||
}
|
||||
|
||||
async pwToggleValue(passwordVisible: boolean) {
|
||||
|
||||
Reference in New Issue
Block a user