Sha256: 65e58ad3dbead250591f655a01213f9b91c92bf342a77beff12a97c342fbe317
Contents?: true
Size: 514 Bytes
Versions: 19
Compression:
Stored size: 514 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);
Version data entries
19 entries across 19 versions & 1 rubygems