Reload on self-navigation to avoid total locks on vehicle

This commit is contained in:
Chloe Herd 2023-12-07 15:21:58 -05:00
parent 3bddf0b509
commit 87bac3566f

View file

@ -172,6 +172,8 @@ router.beforeEach(async (to, from, next) => {
if (isInIframe && notToPIAReturn) {
const newUrl = `${window.top.location.origin}${to.href}`;
window.top.location.href = newUrl;
} else if (toQueryPage === fromQueryPage) {
router.go(0);
} else {
next();
}