0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Fixed typo for free trial flag

refs https://github.com/TryGhost/Team/issues/1726
This commit is contained in:
Rishabh 2022-08-12 14:21:45 +05:30
parent 8574bcd30a
commit d4860e7fe3
2 changed files with 2 additions and 2 deletions

View file

@ -219,7 +219,7 @@
<span class="amount">0</span>
</div>
{{else}}
{{#if this.isFreeTierEnabled}}
{{#if this.isFreeTrialEnabled}}
<div class="gh-portal-tier-price">
<span class="amount">{{ this.tier.trialDays }} days free</span>
</div>

View file

@ -62,7 +62,7 @@ export default class ModalTierPrice extends ModalBase {
return CURRENCIES.findBy('value', this.currency);
}
get isFreeTierEnabled() {
get isFreeTrialEnabled() {
return this.feature.get('freeTrial') && this.freeTrialEnabled && this.tier.get('trialDays') > 0;
}