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