fix: detail

This commit is contained in:
StyleZhang 2024-11-06 15:37:12 +08:00
parent 21b3703bd8
commit fcde5b5c9e

View File

@ -19,7 +19,13 @@ const CardWrapper = ({
}: CardWrapperProps) => {
const { t } = useMixedTranslation(locale)
return (
<div className='group relative rounded-xl cursor-pointer'>
<div
className='group relative rounded-xl cursor-pointer'
onClick={() => {
if (!showInstallButton)
window.open(`${MARKETPLACE_URL_PREFIX}/plugin/${plugin.org}/${plugin.name}`)
}}
>
<Card
key={plugin.name}
payload={plugin}