Moving search into UI
This commit is contained in:
@ -11,8 +11,24 @@ export function showContextMenu( e, context = false, data ){
|
||||
}
|
||||
|
||||
export function hideContextMenu(){
|
||||
return {
|
||||
type: 'UI_HIDE_CONTEXT_MENU'
|
||||
}
|
||||
}
|
||||
|
||||
export function searchStarted(){
|
||||
return {
|
||||
type: 'UI_HIDE_CONTEXT_MENU'
|
||||
type: 'SEARCH_STARTED',
|
||||
data: {
|
||||
artists: [],
|
||||
albums: [],
|
||||
playlists: [],
|
||||
tracks: [],
|
||||
artists_more: false,
|
||||
albums_more: false,
|
||||
playlists_more: false,
|
||||
tracks_more: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user