Merge pull request #894 from Safelite/defect/digital/SSR-1724
SSR-1724 Attempt to fix apple devices
This commit is contained in:
commit
1037a24fee
2 changed files with 2 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ export default {
|
||||||
computed: {
|
computed: {
|
||||||
getMakeModelString() {
|
getMakeModelString() {
|
||||||
const cookie = getISSCookie();
|
const cookie = getISSCookie();
|
||||||
return `${cookie.VehicleMake} ${cookie.VehicleModel}`;
|
return cookie ? `${cookie.VehicleMake} ${cookie.VehicleModel}` : '';
|
||||||
},
|
},
|
||||||
modalBodyText() {
|
modalBodyText() {
|
||||||
return this.getCmsContent('ContinueReferralModalWidget', 'BodyText');
|
return this.getCmsContent('ContinueReferralModalWidget', 'BodyText');
|
||||||
|
|
|
||||||
|
|
@ -153,6 +153,7 @@ router.beforeEach(async (to, from) => {
|
||||||
// especially when navigating with browser buttons
|
// especially when navigating with browser buttons
|
||||||
const newUrl = `${window.top.location.origin}${to.href}`;
|
const newUrl = `${window.top.location.origin}${to.href}`;
|
||||||
window.top.location.href = newUrl;
|
window.top.location.href = newUrl;
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const store = useMainStore();
|
const store = useMainStore();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue