Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hiding filters on empty result #559

Merged
merged 5 commits into from
Nov 11, 2024

Conversation

EduardZaydler
Copy link
Member

PR Summary

Additional information

Closes/Relates #issue

@EduardZaydler EduardZaydler requested a review from a team as a code owner November 7, 2024 08:43
@EduardZaydler
Copy link
Member Author

/build

Copy link

github-actions bot commented Nov 11, 2024

Build and push Docker images with tag: 2024-11-11.3b9574c

FonDumik
FonDumik previously approved these changes Nov 11, 2024
@@ -58,46 +58,57 @@ export const EventListTab: FC<IEventListTabProps> = ({ triggerName }) => {
{ skip: Boolean(fromTime && untilTime && isAfter(fromTime, untilTime)) }
);
const grouppedEvents = useMemo(() => composeEvents(events?.list || [], triggerName), [events]);

const areFiltersVisible = !!(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Обычно для булевых значений предпочтительнее использовать префикс is, но если ты хотел таким образом подчеркнуть, что имеется в виду "несколько фильтров", то ок, можешь порезолвить

@EduardZaydler EduardZaydler merged commit 3b9574c into master Nov 11, 2024
3 checks passed
@EduardZaydler EduardZaydler deleted the feat/hiding_filters_on_empty_result branch November 11, 2024 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants