Merge pull request #2031 from Safelite/feature/CSR-2066

CSR-2066 | Force navbar refresh on entry from external site
This commit is contained in:
scottkiener 2024-10-17 09:57:01 -04:00 committed by GitHub
commit 15bbffdf0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,6 +74,11 @@ export default {
// Call the "next" function to complete the transition to this page.
next((vm) => {
// Update navbar component to clear any stale loading component state
// "/" is the fullPath for refreshes and re-entry to the site from Heritage
if (from.fullPath == "/") {
vm.$refs["navbar"].$forceUpdate();
}
vm.setCmsContent(resultMap.cmsContent);
vm.originalList = resultMap.insuranceCompanyList;
if (store.getters.externalParameterState?.isExternalParameter) {