From cc413bf3bbf709844604fb948705b85122435dee Mon Sep 17 00:00:00 2001 From: Josh Dassinger Date: Tue, 19 Sep 2023 12:10:16 -0500 Subject: [PATCH] SSR-707 Fix Missing Customer Name --- src/store/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 8427db57..1d4d2fa4 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -881,8 +881,8 @@ export const useMainStore = defineStore({ zipCode: customer.address?.zipCode }, emailAddress: contactInfo.emailAddress, - firstName: contactInfo.firstName, - lastName: contactInfo.lastName, + firstName: contactInfo.firstName ?? customer.firstName, + lastName: contactInfo.lastName ?? customer.lastName, phoneNumber: contactInfo.phoneNumber, optInSms: contactInfo.requestTextUpdates ?? false },