fix(scans): update link disable condition for findings table (#8765)

Co-authored-by: Alejandro Bailo <59607668+alejandrobailo@users.noreply.github.com>
This commit is contained in:
Prowler Bot
2025-09-25 13:04:57 +02:00
committed by GitHub
parent 8fc48e81f2
commit 4f298ac46d
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -3,6 +3,14 @@
All notable changes to the **Prowler UI** are documented in this file.
## [1.12.2] (Prowler v5.12.3)
### 🐞 Fixed
- Disable "See Findings" button until scan completes [(#8762)](https://github.com/prowler-cloud/prowler/pull/8762)
---
## [1.12.2] (Prowler v5.12.2)
### 🐞 Fixed
@@ -108,7 +108,7 @@ export const ColumnGetScans: ColumnDef<ScanProps>[] = [
return (
<TableLink
href={`/findings?filter[scan__in]=${id}&filter[status__in]=FAIL`}
isDisabled={!["completed", "executing"].includes(scanState)}
isDisabled={scanState !== "completed"}
label="See Findings"
/>
);