Updated providerName selector to retrieve the name even if provider is not available
This commit is contained in:
parent
a6ea834874
commit
f61208d914
|
@ -19,10 +19,8 @@ export const providerNameSelector = createSelector(
|
|||
providerSelector,
|
||||
(provider: Provider) => {
|
||||
const name = provider.get('name')
|
||||
const loaded = provider.get('loaded')
|
||||
const available = provider.get('available')
|
||||
|
||||
return loaded && available ? name.toLowerCase() : undefined
|
||||
return name ? name.toLowerCase() : undefined
|
||||
},
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue