From f796be86fbb76f4641512636dbc25a0cb9c50534 Mon Sep 17 00:00:00 2001 From: Steve Fox Date: Tue, 12 Apr 2016 16:27:54 -0300 Subject: [PATCH] Changed default params to be empty object instead of empty string. --- modules/core/client/services/menu.client.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/client/services/menu.client.service.js b/modules/core/client/services/menu.client.service.js index 6117bc209a..917ab92c61 100644 --- a/modules/core/client/services/menu.client.service.js +++ b/modules/core/client/services/menu.client.service.js @@ -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