Sfoglia il codice sorgente

Deprecate authSelectors.getDefinitionsByNames

bubble
Kyle Shockey 6 anni fa
parent
commit
533fd75501
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      src/core/plugins/auth/selectors.js

+ 1
- 0
src/core/plugins/auth/selectors.js Vedi File

@@ -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()



Caricamento…
Annulla
Salva