Improve junk data handling

This commit is contained in:
Kyle Shockey
2017-11-06 22:09:20 -08:00
parent 3536f2d518
commit 8f7b582f95

View File

@@ -11,7 +11,7 @@ export const shownDefinitions = createSelector(
export const definitionsToAuthorize = createSelector(
state,
() => ( { specSelectors } ) => {
let definitions = specSelectors.securityDefinitions()
let definitions = specSelectors.securityDefinitions() || Map({})
let list = List()
//todo refactor