mirror of
https://github.com/usestrix/strix.git
synced 2026-09-06 08:15:56 +00:00
fix(tui): compare vulnerability content instead of just count for updates
This commit is contained in:
parent
c94e1d7fa6
commit
ce72f92d36
1 changed files with 1 additions and 1 deletions
|
|
@ -592,7 +592,7 @@ class VulnerabilitiesPanel(VerticalScroll): # type: ignore[misc]
|
|||
|
||||
def update_vulnerabilities(self, vulnerabilities: list[dict[str, Any]]) -> None:
|
||||
"""Update the list of vulnerabilities and re-render."""
|
||||
if len(self._vulnerabilities) == len(vulnerabilities):
|
||||
if self._vulnerabilities == vulnerabilities:
|
||||
return
|
||||
self._vulnerabilities = list(vulnerabilities)
|
||||
self._render_panel()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue