mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 20:27:43 +00:00
Cleanup
This commit is contained in:
@@ -268,7 +268,7 @@ export const LogsFilter = ({ presets, className, control, reset, watch }: Props)
|
|||||||
leftIcon={<FontAwesomeIcon icon={faFilterCircleXmark} />}
|
leftIcon={<FontAwesomeIcon icon={faFilterCircleXmark} />}
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
reset({
|
reset({
|
||||||
eventType: presets?.eventType,
|
eventType: presets?.eventType || [],
|
||||||
actor: presets?.actorId,
|
actor: presets?.actorId,
|
||||||
userAgentType: undefined,
|
userAgentType: undefined,
|
||||||
startDate: undefined,
|
startDate: undefined,
|
||||||
|
|||||||
@@ -69,8 +69,6 @@ export const LogsSection = ({
|
|||||||
const startDate = watch("startDate");
|
const startDate = watch("startDate");
|
||||||
const endDate = watch("endDate");
|
const endDate = watch("endDate");
|
||||||
|
|
||||||
console.log("presets", presets);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
{showFilters && (
|
{showFilters && (
|
||||||
|
|||||||
Reference in New Issue
Block a user