0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Fixed default currency for new tier creation

no refs
This commit is contained in:
Rishabh 2022-01-21 12:34:39 +05:30
parent ea71e2a653
commit 941d4de4af

View file

@ -68,7 +68,7 @@ export default class ModalProductPrice extends ModalBase {
if (yearlyPrice) {
this.stripeYearlyAmount = (yearlyPrice.amount / 100);
}
this.currency = this.productCurrency;
this.currency = this.productCurrency || 'usd';
this.benefits = this.product.get('benefits') || emberA([]);
this.newBenefit = ProductBenefitItem.create({
isNew: true,