Skip to content

Commit

Permalink
var naming
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardZaydler committed Nov 11, 2024
1 parent b23262f commit 35b8b7b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const EventListTab: FC<IEventListTabProps> = ({ triggerName }) => {
);
const grouppedEvents = useMemo(() => composeEvents(events?.list || [], triggerName), [events]);

const areFiltersVisible = !!(
const isFilterSectionVisible = !!(
debouncedSearchMetric.length > 0 ||
selectedStatuses.length > 0 ||
fromTime ||
Expand All @@ -70,7 +70,7 @@ export const EventListTab: FC<IEventListTabProps> = ({ triggerName }) => {
const pageCount = Math.ceil((events?.total ?? 0) / (events?.size ?? 1));
return (
<Flexbox margin="28px 0 0 0" gap={28}>
{areFiltersVisible && (
{isFilterSectionVisible && (
<Flexbox direction="row" justify="space-between">
<SearchInput
placeholder="Filter by metric name, regExp is supported"
Expand Down

0 comments on commit 35b8b7b

Please sign in to comment.