Skip to content

Commit

Permalink
Merge branch 'pr/116' into 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
amoshaviv committed Jul 19, 2014
2 parents f59befc + 6730ae3 commit 9fb6e41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/modules/core/services/menus.client.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ angular.module('core').service('Menus', [
menuItemType: menuItemType || 'item',
menuItemClass: menuItemType,
uiRoute: menuItemUIRoute || ('/' + menuItemURL),
isPublic: isPublic || this.menus[menuId].isPublic,
isPublic: isPublic === null && this.menus[menuId].isPublic || isPublic,
roles: roles || this.defaultRoles,
items: [],
shouldRender: shouldRender
Expand All @@ -108,7 +108,7 @@ angular.module('core').service('Menus', [
title: menuItemTitle,
link: menuItemURL,
uiRoute: menuItemUIRoute || ('/' + menuItemURL),
isPublic: isPublic || this.menus[menuId].isPublic,
isPublic: isPublic === null && this.menus[menuId].isPublic || isPublic,
roles: roles || this.defaultRoles,
shouldRender: shouldRender
});
Expand Down

0 comments on commit 9fb6e41

Please sign in to comment.