Commit c2849a18 authored by PDuarte's avatar PDuarte

search

parent 6108d3e1
......@@ -41,6 +41,7 @@ const DataTableServerSide = () => {
// ** Function to handle filter
const handleFilter = value => {
setSearchValue(value)
setSearchTerm(value)
dispatch(
getData_projects({
......@@ -118,8 +119,6 @@ const DataTableServerSide = () => {
const isFiltered = Object.keys(filters).some(function (k) {
return filters[k].length > 0
})
console.log(store)
console.log(store.allDataProjects)
if (store.allDataProjects.length > 0) {
return store.allDataProjects
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment