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-2.0.7 webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterActions.js