improvements: address greppy

This commit is contained in:
Scott Wilson
2025-06-02 20:24:50 -07:00
parent d4523b0ca4
commit 98ab969356
89 changed files with 125 additions and 155 deletions
@@ -274,7 +274,7 @@ export const SecretScanningDataSourceRow = ({
content={`Manually trigger a scan for this ${sourceDetails.name} data source.`}
>
<div className="flex h-full w-full items-center justify-between gap-1">
<span> Trigger Scan</span>
<span>Trigger Scan</span>
<FontAwesomeIcon
className="text-bunker-300"
size="sm"
@@ -100,7 +100,7 @@ export const SecretScanningDataSourcesTable = ({ dataSources }: Props) => {
return (
SECRET_SCANNING_DATA_SOURCE_MAP[type].name.toLowerCase().includes(searchValue) ||
name.toLowerCase().includes(searchValue) ||
connection.name.toLowerCase().includes(searchValue)
(connection && connection.name.toLowerCase().includes(searchValue))
);
})
.sort((a, b) => {