mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 12:27:28 +00:00
fix: Audit log custom date picker
This commit is contained in:
@@ -205,7 +205,10 @@ export const LogsDateFilter = ({ setFilter, filter, timezone, setTimezone }: Pro
|
|||||||
<Input
|
<Input
|
||||||
type="number"
|
type="number"
|
||||||
value={duration || "1"}
|
value={duration || "1"}
|
||||||
onChange={(val) => field.onChange(`${val}${unitOfTime}`)}
|
onChange={(val) => {
|
||||||
|
const durationVal = val.target.value;
|
||||||
|
field.onChange(`${durationVal}${unitOfTime}`);
|
||||||
|
}}
|
||||||
max={60}
|
max={60}
|
||||||
min={1}
|
min={1}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user