From 4ec9db9a1ec1877ac3df11a1204c8b6af3920625 Mon Sep 17 00:00:00 2001 From: npgiano Date: Mon, 6 Jul 2026 16:56:45 -0500 Subject: [PATCH] fix: Enable digital wallet features for event pages --- packages/scripts/dist/app.js | 2 +- packages/scripts/src/app.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/scripts/dist/app.js b/packages/scripts/dist/app.js index e6d2acf5..d671ecda 100644 --- a/packages/scripts/dist/app.js +++ b/packages/scripts/dist/app.js @@ -256,7 +256,7 @@ export class App extends ENGrid { // Supporter Hub Features new SupporterHub(); // Digital Wallets Features - if (ENGrid.getPageType() === "DONATION") { + if (ENGrid.getPageType() === "DONATION" || ENGrid.getPageType() === "EVENT") { new DigitalWallets(); new PreferredPaymentMethod(); } diff --git a/packages/scripts/src/app.ts b/packages/scripts/src/app.ts index 81ead629..8a41eba3 100644 --- a/packages/scripts/src/app.ts +++ b/packages/scripts/src/app.ts @@ -367,7 +367,7 @@ export class App extends ENGrid { ) { new RememberMe(this.options.RememberMe); } - } catch (e) {} + } catch (e) { } if (this.options.NeverBounceAPI) new NeverBounce( @@ -425,7 +425,7 @@ export class App extends ENGrid { new SupporterHub(); // Digital Wallets Features - if (ENGrid.getPageType() === "DONATION") { + if (ENGrid.getPageType() === "DONATION" || ENGrid.getPageType() === "EVENT") { new DigitalWallets(); new PreferredPaymentMethod(); } @@ -483,7 +483,7 @@ export class App extends ENGrid { ) { showDebugPanel = true; } - } catch (e) {} + } catch (e) { } if (showDebugPanel) { new DebugPanel(this.options.PageLayouts); }