Skip to content

Commit 1112f63

Browse files
Merge pull request #2375 from bcgov/fix/yukonReport
fix yukon report navbar issue
2 parents d519cc0 + c6486d4 commit 1112f63

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

frontend/src/components/util/NavBar.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,10 @@ export default {
354354
return title.replace(/\s+/g, '');
355355
},
356356
isYukon() {
357+
let isDistrict = this.userInfo.activeInstituteType === 'DISTRICT';
358+
if (!isDistrict) {
359+
return false;
360+
}
357361
let districtID = this.userInfo.activeInstituteIdentifier;
358362
let belongsToDistrict = this.activeDistrictsMap.get(districtID);
359363
return belongsToDistrict !== null && belongsToDistrict.districtNumber === '098';

0 commit comments

Comments
 (0)