This commit is contained in:
Kyle Shockey
2017-04-10 13:50:51 -07:00
parent 1b6da44cb5
commit f2ae188722
6 changed files with 23 additions and 15 deletions

View File

@@ -67,6 +67,10 @@ export const authorized = createSelector(
export const isAuthorized = ( state, securities ) =>( { authSelectors } ) => {
let authorized = authSelectors.authorized()
if(!List.isList(securities)) {
return null
}
return !!securities.toJS().filter( ( security ) => {
let isAuthorized = true