diff --git a/src/app/Events/EventTypes.tsx b/src/app/Events/EventTypes.tsx index 0c8f175d5..22c825897 100644 --- a/src/app/Events/EventTypes.tsx +++ b/src/app/Events/EventTypes.tsx @@ -116,8 +116,10 @@ export const EventTypes = () => { React.useEffect(() => { addSubscription( - context.target.target().subscribe(refreshEvents) - ); + context.target.target().subscribe(() => { + setFilterText(''); + refreshEvents(); + })); }, [addSubscription, context, context.target, refreshEvents]); React.useEffect(() => {