Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
Robust in the face of tests
Browse files Browse the repository at this point in the history
 🐿 v2.12.4
  • Loading branch information
Alex Curtis authored and alexandercurtis committed Sep 4, 2019
1 parent 7f75c37 commit 8b69884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/models/navigation/navigationModelV2.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ module.exports = class NavigationModelV2 {
NavigationModelV2.decorateSelected(menuData, currentUrl);
}

if( res.locals.flags.renameCompaniesToBusiness ) {
if( res.locals.flags && res.locals.flags.renameCompaniesToBusiness ) {
renameCompaniesToBusiness(menuData);
}

Expand Down

0 comments on commit 8b69884

Please sign in to comment.