Skip to content

Commit

Permalink
Changed default params to be empty object instead of empty string.
Browse files Browse the repository at this point in the history
  • Loading branch information
scfox committed Apr 12, 2016
1 parent 1910d3f commit f796be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/client/services/menu.client.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
service.menus[menuId].items[itemIndex].items.push({
title: options.title || '',
state: options.state || '',
params: options.params || '',
params: options.params || {},
roles: ((options.roles === null || typeof options.roles === 'undefined') ? service.menus[menuId].items[itemIndex].roles : options.roles),
position: options.position || 0,
shouldRender: shouldRender
Expand Down

0 comments on commit f796be8

Please sign in to comment.