Sha256: 98009b97ba73c01e936f71c17e6ce4b0518a2b968bc3feb59dd0f0a269b57baf
Contents?: true
Size: 720 Bytes
Versions: 21
Compression:
Stored size: 720 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 selectMismatchDelete = state => selectSettings(state).allowAutoInsightsMismatchDelete;
Version data entries
21 entries across 21 versions & 1 rubygems