1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-22 04:14:04 +00:00

rename prop.

This commit is contained in:
jaasen-livefront
2025-09-17 14:24:11 -07:00
parent 02d31fce7c
commit 71bf67a52f
3 changed files with 4 additions and 4 deletions

View File

@@ -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;
}

View File

@@ -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());
}
}

View File

@@ -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