Merge pull request #3160 from Safelite/nation/returnUserErr

return user defect
This commit is contained in:
CarlNation 2026-05-01 10:50:54 -04:00 committed by GitHub
commit 7f1b8d9c0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,6 +47,7 @@ import { Form } from "vee-validate";
import { getFunnelCookie } from "@/helpers/heritage-integration/cookie-helper";
import { deleteFunnelCookie } from "@/helpers/heritage-integration/cookie-helper";
import { storeActions } from "@/constants/store-actions";
import baseMixin from "@/mixins/base-mixin";
export default {
name: "return-user",
@ -74,6 +75,13 @@ export default {
startOverImage: null,
};
},
mounted() {
// The global baseMixin.mounted() skips hiding the loading modal when
// external-parameter state is active, but those parameters have no
// consumer on this interstitial. Clear that state and ensure the loader
// is hidden so the user can never get stuck behind it on this page.
baseMixin.methods.ResetExternalParamsAndHideModal();
},
methods: {
arePagePrerequisitesValid() {
return getFunnelCookie() !== null;