mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +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
|
||||
type="number"
|
||||
value={duration || "1"}
|
||||
onChange={(val) => field.onChange(`${val}${unitOfTime}`)}
|
||||
onChange={(val) => {
|
||||
const durationVal = val.target.value;
|
||||
field.onChange(`${durationVal}${unitOfTime}`);
|
||||
}}
|
||||
max={60}
|
||||
min={1}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user