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

Fix undisplayed error logs on root node #2534

Merged
merged 12 commits into from
Jan 31, 2025

Conversation

FranckLecuyer
Copy link
Contributor

No description provided.

@Meklo Meklo self-requested a review January 30, 2025 14:55
@@ -120,7 +120,7 @@ const LogTable = ({ selectedReport, reportType, severities, onRowClick }: LogTab
}, [severityFilter, fetchReportLogs, selectedReport, messageFilter, resetSearch]);

useEffect(() => {
if (filters?.length === 0 && severities && severities.length > 0) {
Copy link
Contributor

@Meklo Meklo Jan 30, 2025

Choose a reason for hiding this comment

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

Removing the condition on filters altogether has some side effects in other use cases. it resets the displayed severities selection when switching selected nodes from the treeview

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍
Fixed

@FranckLecuyer FranckLecuyer requested a review from Meklo January 31, 2025 14:50
@FranckLecuyer FranckLecuyer merged commit 851a9b2 into main Jan 31, 2025
5 checks passed
@FranckLecuyer FranckLecuyer deleted the fix_undisplayed_error_logs_on_root_node branch January 31, 2025 16:01
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