Skip to content

Commit

Permalink
Update if statement to prevent test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
dhochbaum-dcp committed Oct 21, 2024
1 parent afe584e commit d462d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Router.map(function() { // eslint-disable-line
this.route('show-project', { path: '/projects/:id' });
this.route('show-geography', { path: '/projects' });
this.route('disclaimer');
config.showAlerts && this.route('statuses');
if (config.showAlerts) { this.route('statuses'); }
this.route('not-found', { path: '/*path' });
this.route('oops');
this.route('my-projects', function() {
Expand Down

0 comments on commit d462d6a

Please sign in to comment.