Merge pull request #822 from Safelite/feature/richardson/SSR-325.3
Handle after cookie modal but returning to welcome page
This commit is contained in:
commit
99df29963e
1 changed files with 3 additions and 0 deletions
|
|
@ -425,6 +425,8 @@ export default {
|
||||||
checkContinueFromCookie() {
|
checkContinueFromCookie() {
|
||||||
if (this.mainStore.issConfig.enableContinueFromCookie) {
|
if (this.mainStore.issConfig.enableContinueFromCookie) {
|
||||||
this.showCookieDrawer();
|
this.showCookieDrawer();
|
||||||
|
} else {
|
||||||
|
this.answeredContinueModal = this.mainStore.order.loadedFromCookie;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
showCookieDrawer() {
|
showCookieDrawer() {
|
||||||
|
|
@ -466,6 +468,7 @@ export default {
|
||||||
},
|
},
|
||||||
startNewReferral() {
|
startNewReferral() {
|
||||||
this.mainStore.issConfig.enableContinueFromCookie = false;
|
this.mainStore.issConfig.enableContinueFromCookie = false;
|
||||||
|
this.mainStore.order.loadedFromCookie = true;
|
||||||
this.answeredContinueModal = true;
|
this.answeredContinueModal = true;
|
||||||
this.$refs.continueModal.closeModal();
|
this.$refs.continueModal.closeModal();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue