Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
minor change on addMenuItem
Browse files Browse the repository at this point in the history
  • Loading branch information
netusco committed May 10, 2014
1 parent e0fc745 commit c89c891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/modules/core/services/menus.client.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ angular.module('core').service('Menus', [

// Push new menu item
this.menus[menuId].items.push({
class: (menuClass === 'dropdown') ? menuClass : '',
title: menuItemTitle,
link: menuItemURL,
class: menuClass || '',
uiRoute: menuItemUIRoute || ('/' + menuItemURL),
isPublic: isPublic || this.menus[menuId].isPublic,
roles: roles || this.defaultRoles,
Expand Down

0 comments on commit c89c891

Please sign in to comment.