Skip to content

Commit

Permalink
Fix #1112. Fix issues with ManagerMenu that kill debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
offtherailz committed Oct 10, 2016
1 parent 04e21be commit 3f23a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/client/plugins/manager/ManagerMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const ManagerMenu = React.createClass({
getTools() {
return [{element: <span key="burger-menu-title">{this.props.title}</span>}, ...this.props.entries.sort((a, b) => a.position - b.position).map((entry) => {
return {
action: (context) => {context.router.push(entry.path); },
action: (context) => {context.router.push(entry.path); return {type: "MANAGER_MENU::SELECT_TOOL"}; },
text: entry.msgId ? <Message msgId={entry.msgId} /> : entry.text,
cfg: {...entry}
};
Expand Down

0 comments on commit 3f23a16

Please sign in to comment.