Sha256: df0d719c2287ce3e6b96a4d5ca1e57c9586b081e68e92925324b1c077eb88129

Contents?: true

Size: 508 Bytes

Versions: 15

Compression:

Stored size: 508 Bytes

Contents

import {
  selectAPIStatus,
  selectAPIError,
  selectAPIResponse,
} from 'foremanReact/redux/API/APISelectors';
import CONTENT_VIEWS_KEY from '../ContentViewsConstants';

export const selectCVDetails = (state, cvId) =>
  selectAPIResponse(state, `${CONTENT_VIEWS_KEY}_${cvId}`) || {};

export const selectCVDetailStatus =
  (state, cvId) => selectAPIStatus(state, `${CONTENT_VIEWS_KEY}_${cvId}`);

export const selectCVDetailError =
  (state, cvId) => selectAPIError(state, `${CONTENT_VIEWS_KEY}_${cvId}`);

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
katello-3.16.2 webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js
katello-3.16.1.2 webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js
katello-3.16.1.1 webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js
katello-3.16.1 webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js
katello-3.16.0 webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js
katello-3.16.0.rc5.1 webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js
katello-3.16.0.rc5 webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js
katello-3.16.0.rc4.1 webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js
katello-3.16.0.rc4 webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js
katello-3.16.0.rc3.1 webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js
katello-3.16.0.rc3 webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js
katello-3.16.0.rc2.1 webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js
katello-3.16.0.rc2 webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js
katello-3.16.0.rc1.1 webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js
katello-3.16.0.rc1 webpack/scenes/ContentViews/details/ContentViewDetailSelectors.js