File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -135,23 +135,23 @@ <h1 class="font-h1">{{ .Title }}</h1>
135135 </ dt >
136136 < dd >
137137 < template x-if ="subscriptionData.details.payment_information ">
138- < div x-show ="subscriptionData.details.payment_information.payment_method == 'card' ">
138+ < div x-show ="subscriptionData.details.payment_information.payment_method.toLowerCase() == 'card' ">
139139 < p class ="font-bold text-2xl md:text-3xl lg:text-4xl ">
140140 {{ i18n "hub_billing_manage_payment_info_credit_card" . }}
141141 </ p >
142142 < p class ="text-xs text-gray-600 mt-1 ">
143143 {{ i18n "hub_billing_manage_payment_info_credit_card_last_four_digits_description" . }}: < span x-text ="subscriptionData.details.payment_information.last_four_digits "> </ span >
144144 </ p >
145145 </ div >
146- < p x-show ="subscriptionData.details.payment_information.payment_method == 'paypal' " class ="font-bold text-2xl md:text-3xl lg:text-4xl ">
146+ < p x-show ="subscriptionData.details.payment_information.payment_method.toLowerCase() == 'paypal' " class ="font-bold text-2xl md:text-3xl lg:text-4xl ">
147147 {{ i18n "hub_billing_manage_payment_info_paypal" . }}
148148 </ p >
149149 </ template >
150150 < p x-show ="!subscriptionData.details.payment_information " class ="font-bold text-2xl md:text-3xl lg:text-4xl ">
151151 –
152152 </ p >
153153 < p class ="mt-2 ">
154- < button :disabled ="subscriptionData.inProgress || subscriptionData.details.state == 'deleted' " x-show =" subscriptionData.details.update_url " @click.prevent ="hubSubscription.updatePaymentMethod('{{ .Site.Language.Lang }}') " class ="text-xs text-btn text-primary ">
154+ < button :disabled ="subscriptionData.inProgress || subscriptionData.details.state == 'deleted' " @click.prevent ="hubSubscription.updatePaymentMethod('{{ .Site.Language.Lang }}') " class ="text-xs text-btn text-primary ">
155155 < i class ="fas fa-external-link fa-fw "> </ i >
156156 {{ i18n "hub_billing_manage_payment_info_update_action" . }}
157157 </ button >
You can’t perform that action at this time.
0 commit comments