Sha256: 98ee9b8970a791c253a84a4dc2cb8a9a853c9d46c1956400765c2b327c798331
Contents?: true
Size: 460 Bytes
Versions: 1
Compression:
Stored size: 460 Bytes
Contents
import { selectAPIResponse } from 'foremanReact/redux/API/APISelectors'; import { CONFIGURE_CLOUD_CONNECTOR, CONNECTOR_STATUS, } from './CloudConnectorConstants'; export const selectStatus = state => selectAPIResponse(state, CONFIGURE_CLOUD_CONNECTOR)?.result === 'success' ? CONNECTOR_STATUS.RESOLVED : CONNECTOR_STATUS.NOT_RESOLVED; export const selectJobLink = state => selectAPIResponse(state, CONFIGURE_CLOUD_CONNECTOR).job_link || '';
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_rh_cloud-3.0.15 | webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorSelectors.js |