From fcde5b5c9eb217a8af3376de273ce7272ad7f28c Mon Sep 17 00:00:00 2001 From: StyleZhang Date: Wed, 6 Nov 2024 15:37:12 +0800 Subject: [PATCH] fix: detail --- .../components/plugins/marketplace/list/card-wrapper.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/app/components/plugins/marketplace/list/card-wrapper.tsx b/web/app/components/plugins/marketplace/list/card-wrapper.tsx index 8fdb3034b5..27891ff1e6 100644 --- a/web/app/components/plugins/marketplace/list/card-wrapper.tsx +++ b/web/app/components/plugins/marketplace/list/card-wrapper.tsx @@ -19,7 +19,13 @@ const CardWrapper = ({ }: CardWrapperProps) => { const { t } = useMixedTranslation(locale) return ( -
+
{ + if (!showInstallButton) + window.open(`${MARKETPLACE_URL_PREFIX}/plugin/${plugin.org}/${plugin.name}`) + }} + >