Moving search into UI

This commit is contained in:
James Barnsley
2016-11-09 15:49:25 +13:00
parent 88caab6aef
commit b0109abd44
10 changed files with 730 additions and 670 deletions

View File

@ -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
}
}
}