Merge pull request #3160 from Safelite/nation/returnUserErr
return user defect
This commit is contained in:
commit
7f1b8d9c0f
1 changed files with 8 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ import { Form } from "vee-validate";
|
||||||
import { getFunnelCookie } from "@/helpers/heritage-integration/cookie-helper";
|
import { getFunnelCookie } from "@/helpers/heritage-integration/cookie-helper";
|
||||||
import { deleteFunnelCookie } from "@/helpers/heritage-integration/cookie-helper";
|
import { deleteFunnelCookie } from "@/helpers/heritage-integration/cookie-helper";
|
||||||
import { storeActions } from "@/constants/store-actions";
|
import { storeActions } from "@/constants/store-actions";
|
||||||
|
import baseMixin from "@/mixins/base-mixin";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "return-user",
|
name: "return-user",
|
||||||
|
|
@ -74,6 +75,13 @@ export default {
|
||||||
startOverImage: null,
|
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: {
|
methods: {
|
||||||
arePagePrerequisitesValid() {
|
arePagePrerequisitesValid() {
|
||||||
return getFunnelCookie() !== null;
|
return getFunnelCookie() !== null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue