mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-03-22 03:08:23 +00:00
style(ui): auto-format lint fixes
This commit is contained in:
@@ -115,8 +115,7 @@ export function adaptFindingsByResourceResponse(
|
||||
// Resolve provider via scan → provider (include path: scan.provider)
|
||||
const scanRel = item.relationships?.scan?.data;
|
||||
const scan = scanRel ? scansDict[scanRel.id] : null;
|
||||
const providerRelId =
|
||||
scan?.relationships?.provider?.data?.id ?? null;
|
||||
const providerRelId = scan?.relationships?.provider?.data?.id ?? null;
|
||||
const provider = providerRelId ? providersDict[providerRelId] : null;
|
||||
const providerAttrs = provider?.attributes || {};
|
||||
|
||||
|
||||
@@ -190,7 +190,9 @@ export const ProviderTypeSelector = ({
|
||||
),
|
||||
)
|
||||
.filter((type): type is ProviderType => type in PROVIDER_DATA)
|
||||
.sort((a, b) => PROVIDER_DATA[a].label.localeCompare(PROVIDER_DATA[b].label));
|
||||
.sort((a, b) =>
|
||||
PROVIDER_DATA[a].label.localeCompare(PROVIDER_DATA[b].label),
|
||||
);
|
||||
|
||||
const renderIcon = (providerType: ProviderType) => {
|
||||
const IconComponent = PROVIDER_DATA[providerType].icon;
|
||||
|
||||
@@ -41,7 +41,10 @@ export function ActionDropdown({
|
||||
aria-label={ariaLabel}
|
||||
className="hover:bg-bg-neutral-tertiary rounded-md p-1 transition-colors"
|
||||
>
|
||||
<VerticalDotsIcon size={20} className="text-text-neutral-secondary" />
|
||||
<VerticalDotsIcon
|
||||
size={20}
|
||||
className="text-text-neutral-secondary"
|
||||
/>
|
||||
</button>
|
||||
)}
|
||||
</DropdownMenuTrigger>
|
||||
|
||||
Reference in New Issue
Block a user