mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
chore: cleanup
This commit is contained in:
@@ -128,7 +128,6 @@ export const LogsFilter = ({
|
||||
value={value}
|
||||
isClearable
|
||||
onChange={(e) => {
|
||||
console.log(e);
|
||||
if (e === null) {
|
||||
setValue("secretPath", "");
|
||||
}
|
||||
|
||||
@@ -9,11 +9,11 @@ export const auditLogFilterFormSchema = z
|
||||
eventType: z.nativeEnum(EventType).array(),
|
||||
actor: z.string().optional(),
|
||||
userAgentType: z.nativeEnum(UserAgentType),
|
||||
secretPath: z.string().optional(),
|
||||
startDate: z.date().optional(),
|
||||
endDate: z.date().optional(),
|
||||
page: z.coerce.number().optional(),
|
||||
perPage: z.coerce.number().optional(),
|
||||
secretPath: z.string().optional()
|
||||
perPage: z.coerce.number().optional()
|
||||
})
|
||||
.superRefine((el, ctx) => {
|
||||
if (el.endDate && el.startDate && el.endDate < el.startDate) {
|
||||
|
||||
Reference in New Issue
Block a user