Also check localstorage for settings if not found in state.
This commit is contained in:
@@ -71,8 +71,10 @@ export default {
|
||||
return undefined
|
||||
},
|
||||
isPlexAuthenticated: (state) => {
|
||||
let hasPlexId = state.settings['plex_userid']
|
||||
return hasPlexId != undefined
|
||||
const settings = state.settings || getLocalStorageByKey('settings')
|
||||
const hasPlexId = settings['plex_userid']
|
||||
|
||||
return hasPlexId != null ? true : false
|
||||
}
|
||||
},
|
||||
mutations: {
|
||||
|
||||
Reference in New Issue
Block a user