Просмотр исходного кода

Deprecate authSelectors.getDefinitionsByNames

bubble
Kyle Shockey 6 лет назад
Родитель
Сommit
533fd75501
1 измененных файлов: 1 добавлений и 0 удалений
  1. +1
    -0
      src/core/plugins/auth/selectors.js

+ 1
- 0
src/core/plugins/auth/selectors.js Просмотреть файл

@@ -28,6 +28,7 @@ export const definitionsToAuthorize = createSelector(


export const getDefinitionsByNames = ( state, securities ) => ( { specSelectors } ) => {
console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.")
let securityDefinitions = specSelectors.securityDefinitions()
let result = List()



Загрузка…
Отмена
Сохранить