fix(ui): disable See Compliance button until scan completes (#8487)

Co-authored-by: Pablo Lara <larabjj@gmail.com>
This commit is contained in:
sumit-tft
2025-08-11 14:07:35 +05:30
committed by GitHub
parent 85af4ff77c
commit 3c94d3a56f
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -11,6 +11,8 @@ All notable changes to the **Prowler UI** are documented in this file.
### 🔄 Changed
- Disable `See Compliance` button until scan completes [(#8487)](https://github.com/prowler-cloud/prowler/pull/8487)
### 🐞 Fixed
### ❌ Removed
@@ -123,7 +123,7 @@ export const ColumnGetScans: ColumnDef<ScanProps>[] = [
return (
<TableLink
href={`/compliance?scanId=${id}`}
isDisabled={!["completed", "executing"].includes(scanState)}
isDisabled={!["completed"].includes(scanState)}
label="See Compliance"
/>
);