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-3.0.26 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-4.0.26 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-4.0.25.1 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-3.0.25 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-4.0.25 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-3.0.24.1 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-4.0.24.1 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-3.0.24 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-4.0.24 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-3.0.23 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-4.0.23 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-3.0.22 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-4.0.22 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-4.0.21.1 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-3.0.21.1 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-3.0.21 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-3.0.20 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-3.0.19 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-2.0.18.1 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js
foreman_rh_cloud-3.0.18.1 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js