From 28bc5690ff1d2fffb078671af12fd7f0cdf1e78e Mon Sep 17 00:00:00 2001 From: Scott Kiener Date: Thu, 17 Oct 2024 09:51:19 -0400 Subject: [PATCH] CSR-2066 | Force navbar refresh on entry from external site Insurance company page only --- src/layouts/insurance-company/insurance-company.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/layouts/insurance-company/insurance-company.vue b/src/layouts/insurance-company/insurance-company.vue index bc9e5755a..780a8136a 100644 --- a/src/layouts/insurance-company/insurance-company.vue +++ b/src/layouts/insurance-company/insurance-company.vue @@ -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) {