feat: displaying the tool description when clicking on a custom tool (#2642)

This commit is contained in:
Joel
2024-03-01 17:58:38 +08:00
committed by GitHub
parent 1a677da792
commit fa8ab2134f
4 changed files with 53 additions and 22 deletions

View File

@@ -63,7 +63,7 @@ const Item: FC<Props> = ({
)}
</div>
</div>
{showDetail && isBuiltIn && (
{showDetail && (
<SettingBuiltInTool
collection={collection}
toolName={payload.name}
@@ -71,6 +71,7 @@ const Item: FC<Props> = ({
onHide={() => {
setShowDetail(false)
}}
isBuiltIn={isBuiltIn}
/>
)}
</>