Resolve the discount issue (#11128)

This commit is contained in:
cyprain-okeke 2024-09-18 18:55:31 +01:00 committed by GitHub
parent 931f86c948
commit 1940256fe2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@
>{{
"upgradeDiscount"
| i18n
: (selectedInterval === planIntervals.Annually
? discountPercentageFromSub + this.discountPercentage
: (selectedInterval === planIntervals.Annually && discountPercentageFromSub == 0
? this.discountPercentage
: this.discountPercentageFromSub)
}}</span
>