mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
add highlighted description while searching
This commit is contained in:
@@ -43,7 +43,7 @@ const Block: BlockComponent = ({
|
||||
"line-clamp-1 font-sans text-xs font-normal leading-5 text-zinc-500 group-disabled:text-zinc-400",
|
||||
)}
|
||||
>
|
||||
{description}
|
||||
{description && highlightText(description, highlightedText)}
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
|
||||
@@ -73,7 +73,7 @@ const IntegrationBlock: IntegrationBlockComponent = ({
|
||||
"line-clamp-1 font-sans text-xs font-normal leading-5 text-zinc-500 group-disabled:text-zinc-400",
|
||||
)}
|
||||
>
|
||||
{description}
|
||||
{description && highlightText(description, highlightedText)}
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user