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

This commit is contained in:
Alejandro Bailo
2025-09-25 12:57:22 +02:00
committed by GitHub
parent 77cdd793f8
commit 59435167ea
2 changed files with 9 additions and 1 deletions

View File

@@ -16,6 +16,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

View File

@@ -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"
/>
);