Sha256: e85c19a217f75bdf719e705d07bd29cbd9d557ba652ee973fd2f96a99e3f70f6

Contents?: true

Size: 693 Bytes

Versions: 39

Compression:

Stored size: 693 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;

export const selectCloudToken = state => selectSettings(state).cloudToken;

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
foreman_rh_cloud-4.0.36 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-3.0.33 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-4.0.35 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.35 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.34 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.33 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-3.0.32 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-4.0.32 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.32 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-4.0.31 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.31 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.30 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-4.0.30 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-3.0.29 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-4.0.29 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.29 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-3.0.28 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-5.0.28 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-4.0.27 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
foreman_rh_cloud-3.0.26 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js