fix(ui): Removed the alias if not available in findings detail page (#7751)

This commit is contained in:
sumit-tft
2025-05-16 12:32:47 +05:30
committed by GitHub
parent 7d69cc4cd9
commit 355abca5a3
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -17,6 +17,7 @@ All notable changes to the **Prowler UI** are documented in this file.
- Fix form validation in launch scan workflow. [(#7693)](https://github.com/prowler-cloud/prowler/pull/7693)
- Moved ProviderType to a shared types file and replaced all occurrences across the codebase. [(#7710)](https://github.com/prowler-cloud/prowler/pull/7710)
- Added filter to retrieve only connected providers on the scan page. [(#7723)](https://github.com/prowler-cloud/prowler/pull/7723)
- Removed the alias if not added from findings detail page. [(#7751)](https://github.com/prowler-cloud/prowler/pull/7751)
---
@@ -307,7 +307,9 @@ export const FindingDetail = ({
</div>
<div className="grid grid-cols-1 gap-4 md:grid-cols-2">
<InfoField label="Alias">{provider.alias}</InfoField>
{provider.alias && (
<InfoField label="Alias">{provider.alias}</InfoField>
)}
<InfoField label="Connection Status">
<span
className={`${provider.connection.connected ? "text-green-500" : "text-red-500"}`}