Sha256: 9891961af4cb3f967adac7dbd96196f49971cfd8563fa36606cbd7d40a5db775

Contents?: true

Size: 557 Bytes

Versions: 81

Compression:

Stored size: 557 Bytes

Contents

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

export const selectEnvironmentPaths = state =>
  selectAPIResponse(state, ENVIRONMENT_PATHS_KEY) || {};

export const selectEnvironmentPathsStatus = state =>
  selectAPIStatus(state, ENVIRONMENT_PATHS_KEY) || STATUS.PENDING;

export const selectEnvironmentPathsError = state =>
  selectAPIError(state, ENVIRONMENT_PATHS_KEY);

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
katello-4.4.1 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.5.0.rc1 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.4.0.2 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.4.0.1 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.3.1 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.4.0 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.4.0.rc2 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.4.0.rc1 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.2.2 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.3.0 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.3.0.rc4 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.3.0.rc3 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.3.0.rc2.1 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.3.0.rc2 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.3.0.rc1 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.2.1 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.2.0.1 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.2.0.1.rc3 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.2.0.1.rc2 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js
katello-4.2.0.rc2 webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js