Sha256: c7d0fb8e27c61c398d7fc22072a70a33c15c47572ce7991f60d759dc21dd8541
Contents?: true
Size: 690 Bytes
Versions: 17
Compression:
Stored size: 690 Bytes
Contents
import { selectAPIStatus, selectAPIError, selectAPIResponse, } from 'foremanReact/redux/API/APISelectors'; import { STATUS } from 'foremanReact/constants'; import HOST_DETAILS_KEY from './HostDetailsConstants'; export const selectHostDetails = state => selectAPIResponse(state, HOST_DETAILS_KEY) ?? {}; export const selectHostDetailsStatus = state => selectAPIStatus(state, HOST_DETAILS_KEY) ?? STATUS.PENDING; export const selectHostDetailsError = state => selectAPIError(state, HOST_DETAILS_KEY); export const selectHostDetailsState = state => state.katello.hostDetails; export const selectHostDetailsClearSearch = state => selectHostDetailsState(state).clearSearch;
Version data entries
17 entries across 17 versions & 1 rubygems