From 6498a47a9be96eeb69a8ae39626cfafe82614e52 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Wed, 3 May 2023 19:03:59 +0200 Subject: [PATCH] change(ui) - filter user events text change --- frontend/app/components/Session_/EventsBlock/EventsBlock.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/app/components/Session_/EventsBlock/EventsBlock.tsx b/frontend/app/components/Session_/EventsBlock/EventsBlock.tsx index 5065e77f1..54e6e87e9 100644 --- a/frontend/app/components/Session_/EventsBlock/EventsBlock.tsx +++ b/frontend/app/components/Session_/EventsBlock/EventsBlock.tsx @@ -139,13 +139,14 @@ function EventsBlock(props: IProps) { }; const isEmptySearch = query && (usedEvents.length === 0 || !usedEvents); + const eventsText = `${query ? 'Filtered' : ''} ${usedEvents.length} Events`; return ( <>
-
Displaying {usedEvents.length} events
+
{eventsText}