Merge pull request #1631 from Safelite/rlsmerge/2023.12.14-to-develop
Rlsmerge/2023.12.14 to develop
This commit is contained in:
commit
3f7d1cf9ea
1 changed files with 4 additions and 1 deletions
|
|
@ -172,7 +172,10 @@ router.beforeEach(async (to, from, next) => {
|
||||||
if (isInIframe && notToPIAReturn) {
|
if (isInIframe && notToPIAReturn) {
|
||||||
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;
|
||||||
} else if (toQueryPage === fromQueryPage) {
|
// Refresh page if navigating to self to prevent locking.
|
||||||
|
// For now only carved out for vehicle; all modals are opened through anchor tags at the moment,
|
||||||
|
// which also self navigate, but relied on the page remaining the same on self-navigation.
|
||||||
|
} else if (toQueryPage === fromQueryPage && toQueryPage === "vehicle") {
|
||||||
router.go(0);
|
router.go(0);
|
||||||
} else {
|
} else {
|
||||||
next();
|
next();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue