diff --git a/src/core/plugins/auth/selectors.js b/src/core/plugins/auth/selectors.js index a8bd0ce1..53729449 100644 --- a/src/core/plugins/auth/selectors.js +++ b/src/core/plugins/auth/selectors.js @@ -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