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>
135
135
</ dt >
136
136
< dd >
137
137
< 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' ">
139
139
< p class ="font-bold text-2xl md:text-3xl lg:text-4xl ">
140
140
{{ i18n "hub_billing_manage_payment_info_credit_card" . }}
141
141
</ p >
142
142
< p class ="text-xs text-gray-600 mt-1 ">
143
143
{{ i18n "hub_billing_manage_payment_info_credit_card_last_four_digits_description" . }}: < span x-text ="subscriptionData.details.payment_information.last_four_digits "> </ span >
144
144
</ p >
145
145
</ 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 ">
147
147
{{ i18n "hub_billing_manage_payment_info_paypal" . }}
148
148
</ p >
149
149
</ template >
150
150
< p x-show ="!subscriptionData.details.payment_information " class ="font-bold text-2xl md:text-3xl lg:text-4xl ">
151
151
–
152
152
</ p >
153
153
< 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 ">
155
155
< i class ="fas fa-external-link fa-fw "> </ i >
156
156
{{ i18n "hub_billing_manage_payment_info_update_action" . }}
157
157
</ button >
You can’t perform that action at this time.
0 commit comments