Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
C
cms
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pedro-dev_2
cms
Commits
c2849a18
Commit
c2849a18
authored
Apr 24, 2021
by
PDuarte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
search
parent
6108d3e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
TableServerSide.js
src/views/settings/projects/TableServerSide.js
+1
-2
No files found.
src/views/settings/projects/TableServerSide.js
View file @
c2849a18
...
@@ -41,6 +41,7 @@ const DataTableServerSide = () => {
...
@@ -41,6 +41,7 @@ const DataTableServerSide = () => {
// ** Function to handle filter
// ** Function to handle filter
const
handleFilter
=
value
=>
{
const
handleFilter
=
value
=>
{
setSearchValue
(
value
)
setSearchValue
(
value
)
setSearchTerm
(
value
)
dispatch
(
dispatch
(
getData_projects
({
getData_projects
({
...
@@ -118,8 +119,6 @@ const DataTableServerSide = () => {
...
@@ -118,8 +119,6 @@ const DataTableServerSide = () => {
const
isFiltered
=
Object
.
keys
(
filters
).
some
(
function
(
k
)
{
const
isFiltered
=
Object
.
keys
(
filters
).
some
(
function
(
k
)
{
return
filters
[
k
].
length
>
0
return
filters
[
k
].
length
>
0
})
})
console
.
log
(
store
)
console
.
log
(
store
.
allDataProjects
)
if
(
store
.
allDataProjects
.
length
>
0
)
{
if
(
store
.
allDataProjects
.
length
>
0
)
{
return
store
.
allDataProjects
return
store
.
allDataProjects
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment