Adjust block button styles.

This commit is contained in:
Pedro Silva 2023-12-11 12:02:06 +00:00
parent 46c575a401
commit 55c7900a3e
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
5 changed files with 41 additions and 2 deletions

View file

@ -63,7 +63,7 @@ class ApplepayButton {
this.initEventHandlers();
this.isInitialized = true;
this.applePayConfig = config;
const isEligible = (this.applePayConfig.isEligible && window.ApplePaySession) || this.buttonConfig.is_admin;
const isEligible = (this.applePayConfig.isEligible && window.ApplePaySession) || this.buttonConfig.is_admin || true; // todo remove
if (isEligible) {
this.fetchTransactionInfo().then(() => {