Sha256: 77f6b6cc3d63ce6067f3c64089dfa124b3a2121bbf77255c0b5fda72bb0ac699

Contents?: true

Size: 316 Bytes

Versions: 121

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

121 entries across 121 versions & 1 rubygems

Version Path
foreman_rh_cloud-5.0.39 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-5.0.38 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-4.0.35 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-5.0.37 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-5.0.36 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-5.0.35 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-5.0.34 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-5.0.33 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-3.0.32 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-4.0.32 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-5.0.32 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-4.0.31 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-5.0.31 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-5.0.30 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-4.0.30 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-3.0.29 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-4.0.29 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-5.0.29 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-3.0.28 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-5.0.28 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js