1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-30 23:23:52 +00:00

Only show free for 1 year for SM standalone (#17914)

This commit is contained in:
Alex Morask
2025-12-10 14:45:06 -06:00
committed by GitHub
parent 48941a3650
commit d205580701
2 changed files with 7 additions and 10 deletions

View File

@@ -38,12 +38,7 @@
{{ i.amount | currency: "$" }}
</td>
<td bitCell class="tw-text-right">
<ng-container
*ngIf="
sub?.customerDiscount?.appliesTo?.includes(i.productId);
else calculateElse
"
>
<ng-container *ngIf="isSecretsManagerTrial(); else calculateElse">
{{ "freeForOneYear" | i18n }}
</ng-container>
<ng-template #calculateElse>
@@ -52,7 +47,7 @@
{{ i.quantity * i.amount | currency: "$" }} /{{ i.interval | i18n }}
</span>
<span
*ngIf="customerDiscount?.percentOff && !isSecretsManagerTrial()"
*ngIf="customerDiscount?.percentOff"
class="tw-line-through !tw-text-muted"
>{{
calculateTotalAppliedDiscount(i.quantity * i.amount) | currency: "$"