From b502d30e778769b16416f5847a51b824cfa92210 Mon Sep 17 00:00:00 2001 From: yangzheli <43645580+yangzheli@users.noreply.github.com> Date: Wed, 26 Nov 2025 01:21:50 +0800 Subject: [PATCH] fix(web): resolve readme-panel display and styling issues (#28658) --- web/app/components/plugins/readme-panel/entrance.tsx | 2 +- web/app/components/plugins/readme-panel/index.tsx | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/web/app/components/plugins/readme-panel/entrance.tsx b/web/app/components/plugins/readme-panel/entrance.tsx index f3b4c98412..ba4bf8fa78 100644 --- a/web/app/components/plugins/readme-panel/entrance.tsx +++ b/web/app/components/plugins/readme-panel/entrance.tsx @@ -24,7 +24,7 @@ export const ReadmeEntrance = ({ if (pluginDetail) setCurrentPluginDetail(pluginDetail, showType) } - if (!pluginDetail || BUILTIN_TOOLS_ARRAY.includes(pluginDetail.id)) + if (!pluginDetail || !pluginDetail?.plugin_unique_identifier || BUILTIN_TOOLS_ARRAY.includes(pluginDetail.id)) return null return ( diff --git a/web/app/components/plugins/readme-panel/index.tsx b/web/app/components/plugins/readme-panel/index.tsx index 70d1e0db2c..cae5413c7c 100644 --- a/web/app/components/plugins/readme-panel/index.tsx +++ b/web/app/components/plugins/readme-panel/index.tsx @@ -86,18 +86,21 @@ const ReadmePanel: FC = () => { const portalContent = showType === ReadmeShowType.drawer ? ( -