Sha256: 135a68a18ff011f09d8c784504b6a5bf25ffe731bc3b5b7f82ea6664203b053d

Contents?: true

Size: 878 Bytes

Versions: 57

Compression:

Stored size: 878 Bytes

Contents

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

export const selectSmartProxyContent = state =>
  selectAPIResponse(state, SMART_PROXY_CONTENT_KEY) || {};

export const selectSmartProxyContentStatus = state =>
  selectAPIStatus(state, SMART_PROXY_CONTENT_KEY) || STATUS.PENDING;

export const selectSmartProxyContentError = state =>
  selectAPIError(state, SMART_PROXY_CONTENT_KEY);

export const selectSmartProxy = state =>
  selectAPIResponse(state, SMART_PROXY_KEY) || {};

export const selectSmartProxyStatus = state =>
  selectAPIStatus(state, SMART_PROXY_KEY) || STATUS.PENDING;

export const selectSmartProxyError = state =>
  selectAPIError(state, SMART_PROXY_KEY);

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
katello-4.16.0.rc1 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.14.3 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.14.2 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.15.0 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.15.0.rc2 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.15.0.rc1 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.14.1 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.14.0 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.14.0.rc3 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.14.0.rc2 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.14.0.rc1.1 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.14.0.rc1 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.13.1 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.13.0 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.12.1 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.13.0.rc1 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.12.0 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.12.0.rc3 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.12.0.rc2 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js
katello-4.12.0.rc1 webpack/scenes/SmartProxy/SmartProxyContentSelectors.js