INSR-8882: Fix missing undefined check

This commit is contained in:
Alex Humphries 2026-04-23 14:23:30 -04:00
parent 6f8985f6a0
commit 7d987e67c8
2 changed files with 2 additions and 2 deletions

View file

@ -586,7 +586,7 @@ export default {
},
handleAnalyticsEventsOnMounted() {
this.pushEventToGA('payment_page', 'PIA Mode', 'Adyen', true);
const paymentMethod = analyticsPaymentTypeMap.get(this.piaType);
const paymentMethod = analyticsPaymentTypeMap.get(this.piaType) ?? 'UNKNOWN';
this.pushEventToGA('payment_method', 'pia', paymentMethod, true);
},
showIssLoadingModal

View file

@ -1,4 +1,4 @@
process.env.VUE_APP_CONSUMER_CF_DISTRO = 'https://digitalapi.dev.safelite.io';
process.env.VUE_APP_CONSUMER_CF_DISTRO = 'https://digitalapi.test.safelite.io';
process.env.VUE_APP_CURRENT_ENVIRONMENT = 'Localhost';
process.env.VUE_APP_CUSTOMER_PORTAL_URL = 'https://myaccountdev.safelite.com/';
process.env.VUE_APP_GOOGLE_PLACES_API_KEY = 'AIzaSyCuLhQcDdZTTb4JzpUFms1OCch2dk5lHF0';