fix(summary): enable CVE button when non-fixable CVEs exist
All checks were successful
Build and Release .deb / build-deb (push) Successful in 21s
All checks were successful
Build and Release .deb / build-deb (push) Successful in 21s
- Use cve_total instead of cve_count to determine button disabled state - Allows viewing all CVEs even when none are fixable
This commit is contained in:
parent
86eda73eb9
commit
9c4e40505b
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ class SummaryPanel(Vertical):
|
||||||
err_label.update("")
|
err_label.update("")
|
||||||
btn.disabled = False
|
btn.disabled = False
|
||||||
apt_btn.disabled = apt_count == 0
|
apt_btn.disabled = apt_count == 0
|
||||||
cve_btn.disabled = cve_count == 0
|
cve_btn.disabled = cve_total == 0
|
||||||
|
|
||||||
# Forcer le refresh de tous les widgets modifiés
|
# Forcer le refresh de tous les widgets modifiés
|
||||||
apt_btn.refresh()
|
apt_btn.refresh()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue