Merge pull request #894 from Safelite/defect/digital/SSR-1724

SSR-1724 Attempt to fix apple devices
This commit is contained in:
Josh Dassinger 2024-11-07 09:04:00 -06:00 committed by GitHub
commit 1037a24fee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -49,7 +49,7 @@ export default {
computed: {
getMakeModelString() {
const cookie = getISSCookie();
return `${cookie.VehicleMake} ${cookie.VehicleModel}`;
return cookie ? `${cookie.VehicleMake} ${cookie.VehicleModel}` : '';
},
modalBodyText() {
return this.getCmsContent('ContinueReferralModalWidget', 'BodyText');

View file

@ -153,6 +153,7 @@ router.beforeEach(async (to, from) => {
// especially when navigating with browser buttons
const newUrl = `${window.top.location.origin}${to.href}`;
window.top.location.href = newUrl;
return false;
}
const store = useMainStore();