From c0fc5d98f0dd76949159633cf34a43f47df53d69 Mon Sep 17 00:00:00 2001 From: crazywoola <100913391+crazywoola@users.noreply.github.com> Date: Wed, 5 Nov 2025 10:19:12 +0800 Subject: [PATCH] fix: installation_id is missing when in tools page (#27849) --- .../plugins/plugin-detail-panel/detail-header.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 ccd0d8be1b..9f326fa198 100644 --- a/web/app/components/plugins/plugin-detail-panel/detail-header.tsx +++ b/web/app/components/plugins/plugin-detail-panel/detail-header.tsx @@ -73,7 +73,7 @@ const DetailHeader = ({ const { enable_marketplace } = useGlobalPublicStore(s => s.systemFeatures) const { - installation_id, + id, source, tenant_id, version, @@ -197,7 +197,7 @@ const DetailHeader = ({ const handleDelete = useCallback(async () => { showDeleting() - const res = await uninstallPlugin(installation_id) + const res = await uninstallPlugin(id) hideDeleting() if (res.success) { hideDeleteConfirm() @@ -207,7 +207,7 @@ const DetailHeader = ({ if (PluginType.tool.includes(category)) invalidateAllToolProviders() } - }, [showDeleting, installation_id, hideDeleting, hideDeleteConfirm, onUpdate, category, refreshModelProviders, invalidateAllToolProviders]) + }, [showDeleting, id, hideDeleting, hideDeleteConfirm, onUpdate, category, refreshModelProviders, invalidateAllToolProviders]) return (