mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 04:21:52 +00:00
chore: replace the new field date value coming from the API
This commit is contained in:
@@ -28,9 +28,9 @@ export const CustomDatePicker = () => {
|
||||
(date: any) => {
|
||||
const params = new URLSearchParams(searchParams.toString());
|
||||
if (date) {
|
||||
params.set("filter[updated_at__lte]", date.toString());
|
||||
params.set("filter[updated_at]", date.toString());
|
||||
} else {
|
||||
params.delete("filter[updated_at__lte]");
|
||||
params.delete("filter[updated_at]");
|
||||
}
|
||||
router.push(`?${params.toString()}`, { scroll: false });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user