Hiding context menu when clearing queue

This commit is contained in:
James Barnsley
2018-05-09 17:31:38 +12:00
parent b47d66f641
commit d5108822a6
4 changed files with 4 additions and 4 deletions

View File

@ -67150,7 +67150,7 @@ var Queue = function (_React$Component) {
_react2.default.createElement(
'button',
{ className: 'no-hover', onClick: function onClick(e) {
return _this2.props.mopidyActions.clearTracklist();
_this2.props.mopidyActions.clearTracklist();_this2.props.uiActions.hideContextMenu();
} },
_react2.default.createElement(_reactFontawesome2.default, { name: 'trash' }),
'\xA0 Clear'