mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Remove additional info icon for ryan flow
This commit is contained in:
parent
8a9dd52bd0
commit
912e0af35a
1 changed files with 6 additions and 2 deletions
|
@ -463,9 +463,9 @@ class AxoManager {
|
|||
this.el.gatewayRadioButton.trigger('change');
|
||||
}
|
||||
|
||||
async renderWatermark() {
|
||||
async renderWatermark(includeAdditionalInfo = true) {
|
||||
(await this.fastlane.FastlaneWatermarkComponent({
|
||||
includeAdditionalInfo: true
|
||||
includeAdditionalInfo
|
||||
})).render(this.el.watermarkContainer.selector);
|
||||
}
|
||||
|
||||
|
@ -562,6 +562,8 @@ class AxoManager {
|
|||
this.hideGatewaySelection = true;
|
||||
this.$('.wc_payment_methods label').hide();
|
||||
|
||||
await this.renderWatermark(false);
|
||||
|
||||
this.rerender();
|
||||
|
||||
} else {
|
||||
|
@ -577,6 +579,8 @@ class AxoManager {
|
|||
this.setStatus('validEmail', true);
|
||||
this.setStatus('hasProfile', false);
|
||||
|
||||
await this.renderWatermark(true);
|
||||
|
||||
this.cardComponent = (await this.fastlane.FastlaneCardComponent(
|
||||
this.cardComponentData()
|
||||
)).render(this.el.paymentContainer.selector + '-form');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue