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-5.0.36 webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js