Skip to content

Commit

Permalink
Fixes #1357: removed drawermenu dependency from query panel (#1358)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarto authored Dec 19, 2016
1 parent 1df3932 commit 820be28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/client/plugins/DrawerMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ const {partialRight} = require('lodash');

const Menu = connect((state) => ({
show: state.controls.drawer && state.controls.drawer.enabled,
activeKey: state.controls.drawer && state.controls.drawer.menu,
width: (state.controls.queryPanel && state.controls.queryPanel.enabled) ? 700 : 300
activeKey: state.controls.drawer && state.controls.drawer.menu
}), {
onToggle: toggleControl.bind(null, 'drawer', null),
onChoose: partialRight(setControlProperty.bind(null, 'drawer', 'menu'), true),
Expand Down

0 comments on commit 820be28

Please sign in to comment.