From c6486d46f6580c8c085ca3f8e9db050d544c171e Mon Sep 17 00:00:00 2001 From: alexmcdermid Date: Fri, 19 Sep 2025 14:43:46 -0700 Subject: [PATCH] fix yukon report navbar issue --- frontend/src/components/util/NavBar.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/components/util/NavBar.vue b/frontend/src/components/util/NavBar.vue index d77802ab..152c8573 100644 --- a/frontend/src/components/util/NavBar.vue +++ b/frontend/src/components/util/NavBar.vue @@ -354,6 +354,10 @@ export default { return title.replace(/\s+/g, ''); }, isYukon() { + let isDistrict = this.userInfo.activeInstituteType === 'DISTRICT'; + if (!isDistrict) { + return false; + } let districtID = this.userInfo.activeInstituteIdentifier; let belongsToDistrict = this.activeDistrictsMap.get(districtID); return belongsToDistrict !== null && belongsToDistrict.districtNumber === '098';