Default search settings; Disabled follow button, but visible

This commit is contained in:
James Barnsley
2017-09-09 21:06:15 +12:00
parent d1c761a879
commit e4f687d24f
7 changed files with 36 additions and 31 deletions

View File

@ -108,8 +108,8 @@ const CoreMiddleware = (function(){
next(action)
var state = store.getState()
if (state.ui.search_settings){
var uri_schemes = state.ui.search_settings.uri_schemes
if (state.ui.search_uri_schemes){
var uri_schemes = state.ui.search_uri_schemes
} else {
var uri_schemes = state.mopidy.uri_schemes
}