Fixed bug on filter by startDate

This commit is contained in:
Gutts-n 2024-01-23 16:49:15 -03:00
parent 27c99adde8
commit cf24042a91
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
'@portaljs/components': patch
---
Fixed filter by startDate error

View File

@ -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
?