Spotify.access will be checker for full access
This commit is contained in:
@ -173,7 +173,7 @@ const mapStateToProps = (state, ownProps) => {
|
||||
album: (state.core.albums && typeof(state.core.albums[ownProps.params.uri]) !== 'undefined' ? state.core.albums[ownProps.params.uri] : false ),
|
||||
albums: state.core.albums,
|
||||
library_albums: state.core.library_albums,
|
||||
spotify_authorized: state.spotify.authorized,
|
||||
spotify_authorized: state.spotify.authorization,
|
||||
mopidy_connected: state.mopidy.connected
|
||||
};
|
||||
}
|
||||
|
||||
@ -265,7 +265,7 @@ const mapStateToProps = (state, ownProps) => {
|
||||
artists: (state.core.artists ? state.core.artists : []),
|
||||
library_artists: (state.core.library_artists ? state.core.library_artists : []),
|
||||
albums: (state.core.albums ? state.core.albums : []),
|
||||
spotify_authorized: state.spotify.authorized,
|
||||
spotify_authorized: state.spotify.authorization,
|
||||
mopidy_connected: state.mopidy.connected
|
||||
}
|
||||
}
|
||||
|
||||
@ -217,7 +217,7 @@ const mapStateToProps = (state, ownProps) => {
|
||||
playlist: (state.core.playlists && typeof(state.core.playlists[uri]) !== 'undefined' ? state.core.playlists[uri] : false ),
|
||||
library_playlists: state.core.library_playlists,
|
||||
mopidy_connected: state.mopidy.connected,
|
||||
spotify_authorized: state.spotify.authorized,
|
||||
spotify_authorized: state.spotify.authorization,
|
||||
spotify_userid: state.spotify.me.id
|
||||
}
|
||||
}
|
||||
|
||||
@ -121,7 +121,7 @@ class User extends React.Component{
|
||||
const mapStateToProps = (state, ownProps) => {
|
||||
return {
|
||||
load_queue: state.ui.load_queue,
|
||||
spotify_authorized: state.spotify.authorized,
|
||||
spotify_authorized: state.spotify.authorization,
|
||||
spotify_authentication_provider: state.spotify.authentication_provider,
|
||||
spotify_backend_username: state.spotify.backend_username,
|
||||
me: state.spotify.me,
|
||||
|
||||
@ -268,7 +268,7 @@ const mapStateToProps = (state, ownProps) => {
|
||||
artists: (state.core.artists ? state.core.artists : []),
|
||||
tracks: (state.core.tracks ? state.core.tracks : []),
|
||||
genres: (state.core.genres ? state.core.genres : []),
|
||||
authorized: state.spotify.authorized,
|
||||
authorized: state.spotify.authorization,
|
||||
load_queue: state.ui.load_queue,
|
||||
quick_search_results: (state.spotify.quick_search_results ? state.spotify.quick_search_results : {artists: [], tracks: []}),
|
||||
recommendations: (state.spotify.recommendations ? state.spotify.recommendations : {}),
|
||||
|
||||
Reference in New Issue
Block a user