Sha256: 8e8df5b93db05cdc85ee084c074b0e020879d68732133be605e2be9f566a4cc4

Contents?: true

Size: 617 Bytes

Versions: 21

Compression:

Stored size: 617 Bytes

Contents

import { selectAPIResponse } from 'foremanReact/redux/API/APISelectors';
import { INVENTORY_SETTINGS } from './InventorySettingsConstants';

export const selectSettings = state =>
  selectAPIResponse(state, INVENTORY_SETTINGS);

export const selectAutoUploadEnabled = state =>
  selectSettings(state).autoUploadEnabled;

export const selectHostObfuscationEnabled = state =>
  selectSettings(state).hostObfuscationEnabled;

export const selectIpsObfuscationEnabled = state =>
  selectSettings(state).ipsObfuscationEnabled;

export const selectExcludePackages = state =>
  selectSettings(state).excludePackagesEnabled;

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
foreman_rh_cloud-7.0.48 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-7.0.47 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-8.0.46 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-6.0.45 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.46 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.45 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-7.0.46 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.44 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-7.0.45 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-6.0.44 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.43 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-6.0.42.2 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-6.0.42.1 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-6.0.43 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.42 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-6.0.42 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.41 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.39 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.38 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.37 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js