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: Fix the switching of tabs when there are no results #118

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

owenrumney
Copy link
Member

@owenrumney owenrumney commented Feb 21, 2025

When the reports are switched between, if the originating report doesn't
have any results the state seems to become stagnent and changing the
drop down doesn't change the tables.

This forces that by using an additional hasReportResults to trigger a
redraw of the VulnerabilitiesTable.

Also switched the tables to take a report rather than a results slice

Resolves #117

When the reports are switched between, if the originating report doesn't
have any results the state seems to become stagnent and changing the
drop down doesn't change the tables.

This forces that by using an additional hasReportResults to trigger a
redraw of the VulnerabilitiesTable.

Also switched the tables to take a report rather than a results slice
@owenrumney owenrumney self-assigned this Feb 21, 2025
@owenrumney owenrumney merged commit 7777080 into main Feb 21, 2025
3 checks passed
@owenrumney owenrumney deleted the fix/tab-switching-not-working-with-dropdown branch February 21, 2025 11:53
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.

Trivy Task Tab on Pipeline not able to view vulnerabilities
1 participant