mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 13:01:56 +00:00
fix(ui): disable See Compliance button until scan completes (#8487)
Co-authored-by: Pablo Lara <larabjj@gmail.com>
This commit is contained in:
@@ -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"
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user