Sha256: 77f6b6cc3d63ce6067f3c64089dfa124b3a2121bbf77255c0b5fda72bb0ac699

Contents?: true

Size: 316 Bytes

Versions: 120

Compression:

Stored size: 316 Bytes

Contents

import {
  INVENTORY_FILTER_UPDATE,
  INVENTORY_FILTER_CLEAR,
} from './InventoryFilterConstants';

export const handleFilterChange = filterTerm => ({
  type: INVENTORY_FILTER_UPDATE,
  payload: {
    filterTerm,
  },
});

export const handleFilterClear = () => ({
  type: INVENTORY_FILTER_CLEAR,
  payload: {},
});

Version data entries

120 entries across 120 versions & 1 rubygems

Version Path
foreman_rh_cloud-9.0.59 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-11.0.2 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-11.0.1 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-11.0.0 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-9.0.58 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-10.0.2 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-9.0.57 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-10.0.1 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-9.0.56 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-9.0.55 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-9.0.54 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-9.0.53 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-9.0.52 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-8.0.52 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-9.0.51 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-8.0.51 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-7.0.48 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-7.0.47 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-8.0.50 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-8.0.49 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js