From f6b2fdc11317b5339d9394ab7b8fbfb7af5dea5e Mon Sep 17 00:00:00 2001
From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com>
Date: Mon, 9 Nov 2026 13:02:39 +0100
Subject: [PATCH] fix(image-scan): show the Vulnerabilities page again
The view still read the $allowed variable that the component no longer
passes after the instance switch was removed, so /vulnerabilities
returned a 500 error.
Co-Authored-By: Claude Opus 5.5
---
.../showed-an-error-on-the-vulnerabilities.md | 4 +
.../fleet-vulnerabilities.blade.php | 417 +++++++++---------
2 files changed, 210 insertions(+), 211 deletions(-)
create mode 100644 .changes/showed-an-error-on-the-vulnerabilities.md
diff --git a/.changes/showed-an-error-on-the-vulnerabilities.md b/.changes/showed-an-error-on-the-vulnerabilities.md
new file mode 100644
index 0000000000..0148a5120d
--- /dev/null
+++ b/.changes/showed-an-error-on-the-vulnerabilities.md
@@ -0,0 +1,4 @@
+---
+type: fixed
+---
+Showed an error on the `Vulnerabilities` page
diff --git a/resources/views/livewire/image-scan/fleet-vulnerabilities.blade.php b/resources/views/livewire/image-scan/fleet-vulnerabilities.blade.php
index 212d315ee4..dbb9cec56d 100644
--- a/resources/views/livewire/image-scan/fleet-vulnerabilities.blade.php
+++ b/resources/views/livewire/image-scan/fleet-vulnerabilities.blade.php
@@ -25,42 +25,58 @@
- Only the first {{ \App\Services\ImageScan\TeamVulnerabilities::MAX_DECODED_SCANS }} images with a match were searched. Filter by server or project to see the rest.
-
+ Only the first {{ \App\Services\ImageScan\TeamVulnerabilities::MAX_DECODED_SCANS }} images with a match were searched. Filter by server or project to see the rest.
+