Merge pull request #1073 from datopian/feature/search-and-pagination-for-bucket-viewer
Fixed bug on filter by startDate
This commit is contained in:
commit
09d5324d4e
5
.changeset/thin-worms-build.md
Normal file
5
.changeset/thin-worms-build.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
'@portaljs/components': patch
|
||||
---
|
||||
|
||||
Fixed filter by startDate error
|
||||
@ -93,7 +93,7 @@ export function BucketViewer({
|
||||
useEffect(() => {
|
||||
if(!filterState) return;
|
||||
|
||||
if(filterState.startDate && filterState.startDate) {
|
||||
if (filterState.startDate && filterState.endDate) {
|
||||
setFilteredData(bucketFiles.filter(({ dateProps }) =>
|
||||
dateProps
|
||||
?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user