mirror of
https://github.com/bitwarden/browser
synced 2026-02-22 04:14:04 +00:00
rename prop.
This commit is contained in:
@@ -452,7 +452,7 @@ export class VaultItemDialogComponent implements OnInit, OnDestroy {
|
||||
const canAccessAttachments = await firstValueFrom(this.canAccessAttachments$);
|
||||
|
||||
if (!canAccessAttachments) {
|
||||
await this.premiumUpgradeService.promptForPremium();
|
||||
await this.premiumUpgradeService.promptForPremium(this.cipher?.organizationId);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -15,11 +15,11 @@ import { BadgeModule } from "@bitwarden/components";
|
||||
imports: [BadgeModule, JslibModule],
|
||||
})
|
||||
export class PremiumBadgeComponent {
|
||||
orgId = input<string>();
|
||||
organizationId = input<string>();
|
||||
|
||||
constructor(private premiumUpgradePromptService: PremiumUpgradePromptService) {}
|
||||
|
||||
async promptForPremium() {
|
||||
await this.premiumUpgradePromptService.promptForPremium(this.orgId());
|
||||
await this.premiumUpgradePromptService.promptForPremium(this.organizationId());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
<bit-label [appTextDrag]="totpCodeCopyObj?.totpCode">
|
||||
<div class="tw-flex tw-items-center tw-gap-3">
|
||||
{{ "verificationCodeTotp" | i18n }}
|
||||
<app-premium-badge [orgId]="this.cipher.organizationId"></app-premium-badge>
|
||||
<app-premium-badge [organizationId]="cipher.organizationId"></app-premium-badge>
|
||||
</div>
|
||||
</bit-label>
|
||||
<input
|
||||
|
||||
Reference in New Issue
Block a user