mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Remove vaulting conditional on minicart render buttons
This commit is contained in:
parent
9f1231412b
commit
0f47429d91
1 changed files with 0 additions and 4 deletions
|
@ -22,10 +22,6 @@ class MiniCartBootstap {
|
|||
}
|
||||
|
||||
shouldRender() {
|
||||
if (!this.gateway.can_save_vault_token) {
|
||||
return;
|
||||
}
|
||||
|
||||
return document.querySelector(this.gateway.button.mini_cart_wrapper) !== null
|
||||
|| document.querySelector(this.gateway.hosted_fields.mini_cart_wrapper) !== null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue