Sha256: 37ce00222adcfd40eb7a3f4dea6d6f6cf5b88ad42babfcbfd007c17f6023e484

Contents?: true

Size: 509 Bytes

Versions: 11

Compression:

Stored size: 509 Bytes

Contents

import {
  selectAPIError,
  selectAPIResponse,
  selectAPIStatus,
} from 'foremanReact/redux/API/APISelectors';
import { STATUS } from 'foremanReact/constants';
import { REPORT_LOG_REQUEST_KEY } from './constants';

export const selectLogResponse = state =>
  selectAPIResponse(state, REPORT_LOG_REQUEST_KEY);

export const selectLogStatus = state =>
  selectAPIStatus(state, REPORT_LOG_REQUEST_KEY) || STATUS.PENDING;

export const selectLogError = state =>
  selectAPIError(state, REPORT_LOG_REQUEST_KEY);

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
foreman_openscap-10.1.0 webpack/components/OpenscapRemediationWizard/OpenscapRemediationSelectors.js
foreman_openscap-10.0.3 webpack/components/OpenscapRemediationWizard/OpenscapRemediationSelectors.js
foreman_openscap-10.0.2 webpack/components/OpenscapRemediationWizard/OpenscapRemediationSelectors.js
foreman_openscap-10.0.1 webpack/components/OpenscapRemediationWizard/OpenscapRemediationSelectors.js
foreman_openscap-10.0.0 webpack/components/OpenscapRemediationWizard/OpenscapRemediationSelectors.js
foreman_openscap-9.0.4 webpack/components/OpenscapRemediationWizard/OpenscapRemediationSelectors.js
foreman_openscap-9.0.3 webpack/components/OpenscapRemediationWizard/OpenscapRemediationSelectors.js
foreman_openscap-9.0.2 webpack/components/OpenscapRemediationWizard/OpenscapRemediationSelectors.js
foreman_openscap-9.0.1 webpack/components/OpenscapRemediationWizard/OpenscapRemediationSelectors.js
foreman_openscap-9.0.0 webpack/components/OpenscapRemediationWizard/OpenscapRemediationSelectors.js
foreman_openscap-8.0.0 webpack/components/OpenscapRemediationWizard/OpenscapRemediationSelectors.js