diff --git a/web/app/components/plugins/plugin-detail-panel/detail-header.tsx b/web/app/components/plugins/plugin-detail-panel/detail-header.tsx index 37831368e2..2f8ec889f4 100644 --- a/web/app/components/plugins/plugin-detail-panel/detail-header.tsx +++ b/web/app/components/plugins/plugin-detail-panel/detail-header.tsx @@ -52,13 +52,14 @@ const DetailHeader = ({ meta, } = detail const { author, name, label, description, icon, verified } = detail.declaration + const isFromGitHub = source === PluginSource.github // Only plugin installed from GitHub need to check if it's the new version const hasNewVersion = useMemo(() => { return source === PluginSource.github && latest_version !== version }, [source, latest_version, version]) // #plugin TODO# update plugin - const handleUpdate = () => {} + const handleUpdate = () => { } const [isShowPluginInfo, { setTrue: showPluginInfo, @@ -151,7 +152,7 @@ const DetailHeader = ({ {isShowPluginInfo && ( void } @@ -30,9 +30,9 @@ const PlugInfo: FC = ({ closable > - - - + {repository && } + {release && } + {packageName && } )