This commit is contained in:
Katie 2022-08-03 12:01:43 -04:00
parent 008949b7c1
commit 9248a5b3b2
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
import { cookieNames } from "@/constants/cookie-names"; import { cookieNames } from "@/constants/cookie-names";
import store from "@/store"; import store from "@/store";
import { applicationConfig } from "@/constants/application-config"; import { applicationConfig } from "@/constants/application-config";
// import { getDateForSavedSessionTimeout } from "@/helpers/heritage-integration/session-helper"; import { getDateForSavedSessionTimeout } from "@/helpers/heritage-integration/session-helper";
/* /*
Will update the cookie if present, or create a new one if not. Will update the cookie if present, or create a new one if not.
@ -16,7 +16,7 @@ export function updateOrCreateFunnelCookie() {
// Set up cookie with all the props. // Set up cookie with all the props.
setFunnelCookieProperties({ setFunnelCookieProperties({
LastTouched: new Date().toUTCString(), LastTouched: new Date().toUTCString(),
// SavedSessionTimeoutDate: getDateForSavedSessionTimeout(), SavedSessionTimeoutDate: getDateForSavedSessionTimeout(),
DidHeritageFunnelUpdateLast: false, DidHeritageFunnelUpdateLast: false,
ShouldResetState: false, ShouldResetState: false,
ReferralNumber: store.getters.order.referralNumber, ReferralNumber: store.getters.order.referralNumber,

View file

@ -155,7 +155,7 @@ export default {
}, },
methods: { methods: {
arePagePrerequisitesValid() { arePagePrerequisitesValid() {
return store.getters.vehicle.carId; return store.getters.vehicle.carId != null;
}, },
attachCustomEvents(){ attachCustomEvents(){