Skip to content

Commit

Permalink
Merge pull request #67 from Sebbben/fixNoResultMembershipSearch
Browse files Browse the repository at this point in the history
Fix no result membership search
  • Loading branch information
EricSvebakk authored Oct 10, 2024
2 parents 0f096c0 + c019c46 commit d26bd3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components/CustomTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ function CustomTable({ headers, data, defaultFilterBy }) {
}, [data, sortBy, sortDirection]);

const filteredData = useMemo(() => {
setPage(0);
return sortedData.filter((row) => {
if (selectedSearchColumn === null || selectedFilterOption === null) {
return true;
Expand Down

0 comments on commit d26bd3f

Please sign in to comment.