Sha256: fae78e493068204787dcd321538bc0d09c1635fb5d4f8157832a6132224c1e48

Contents?: true

Size: 526 Bytes

Versions: 69

Compression:

Stored size: 526 Bytes

Contents

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

export const selectHostPackages = state =>
  selectAPIResponse(state, HOST_PACKAGES_KEY) || {};

export const selectHostPackagesStatus = state =>
  selectAPIStatus(state, HOST_PACKAGES_KEY) || STATUS.PENDING;

export const selectHostPackagesError = state =>
  selectAPIError(state, HOST_PACKAGES_KEY);

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
katello-4.3.1 webpack/components/extensions/HostDetails/HostPackages/HostPackagesSelectors.js
katello-4.4.0 webpack/components/extensions/HostDetails/Tabs/PackagesTab/HostPackagesSelectors.js
katello-4.4.0.rc2 webpack/components/extensions/HostDetails/HostPackages/HostPackagesSelectors.js
katello-4.4.0.rc1 webpack/components/extensions/HostDetails/HostPackages/HostPackagesSelectors.js
katello-4.3.0 webpack/components/extensions/HostDetails/HostPackages/HostPackagesSelectors.js
katello-4.3.0.rc4 webpack/components/extensions/HostDetails/HostPackages/HostPackagesSelectors.js
katello-4.3.0.rc3 webpack/components/extensions/HostDetails/HostPackages/HostPackagesSelectors.js
katello-4.3.0.rc2.1 webpack/components/extensions/HostDetails/HostPackages/HostPackagesSelectors.js
katello-4.3.0.rc2 webpack/components/extensions/HostDetails/HostPackages/HostPackagesSelectors.js