Hiding context menu when clearing queue
This commit is contained in:
@ -149,7 +149,7 @@ class Queue extends React.Component{
|
||||
<FontAwesome name="history" />
|
||||
History
|
||||
</button>
|
||||
<button className="no-hover" onClick={e => this.props.mopidyActions.clearTracklist()}>
|
||||
<button className="no-hover" onClick={e => {this.props.mopidyActions.clearTracklist(); this.props.uiActions.hideContextMenu();}}>
|
||||
<FontAwesome name="trash" />
|
||||
Clear
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user