From e1d11681c03ea47bbe01d5fccab808196ee8a50e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=9E=E6=B3=95=E6=93=8D=E4=BD=9C?= Date: Mon, 24 Nov 2025 11:08:40 +0800 Subject: [PATCH] fix: plugin auto update display issues (#28564) --- .../auto-update-setting/no-plugin-selected.tsx | 2 +- .../auto-update-setting/plugins-picker.tsx | 2 +- .../auto-update-setting/tool-picker.tsx | 11 ++++++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/web/app/components/plugins/reference-setting-modal/auto-update-setting/no-plugin-selected.tsx b/web/app/components/plugins/reference-setting-modal/auto-update-setting/no-plugin-selected.tsx index e255be0525..2338014232 100644 --- a/web/app/components/plugins/reference-setting-modal/auto-update-setting/no-plugin-selected.tsx +++ b/web/app/components/plugins/reference-setting-modal/auto-update-setting/no-plugin-selected.tsx @@ -14,7 +14,7 @@ const NoPluginSelected: FC = ({ const { t } = useTranslation() const text = `${t(`plugin.autoUpdate.upgradeModePlaceholder.${updateMode === AUTO_UPDATE_MODE.partial ? 'partial' : 'exclude'}`)}` return ( -
+
{text}
) diff --git a/web/app/components/plugins/reference-setting-modal/auto-update-setting/plugins-picker.tsx b/web/app/components/plugins/reference-setting-modal/auto-update-setting/plugins-picker.tsx index 77ffd66670..097592c1c0 100644 --- a/web/app/components/plugins/reference-setting-modal/auto-update-setting/plugins-picker.tsx +++ b/web/app/components/plugins/reference-setting-modal/auto-update-setting/plugins-picker.tsx @@ -53,7 +53,7 @@ const PluginsPicker: FC = ({ + diff --git a/web/app/components/plugins/reference-setting-modal/auto-update-setting/tool-picker.tsx b/web/app/components/plugins/reference-setting-modal/auto-update-setting/tool-picker.tsx index 0e48a07f46..ed8ae6411e 100644 --- a/web/app/components/plugins/reference-setting-modal/auto-update-setting/tool-picker.tsx +++ b/web/app/components/plugins/reference-setting-modal/auto-update-setting/tool-picker.tsx @@ -58,6 +58,14 @@ const ToolPicker: FC = ({ key: PLUGIN_TYPE_SEARCH_MAP.extension, name: t('plugin.category.extensions'), }, + { + key: PLUGIN_TYPE_SEARCH_MAP.datasource, + name: t('plugin.category.datasources'), + }, + { + key: PLUGIN_TYPE_SEARCH_MAP.trigger, + name: t('plugin.category.triggers'), + }, { key: PLUGIN_TYPE_SEARCH_MAP.bundle, name: t('plugin.category.bundles'), @@ -119,12 +127,13 @@ const ToolPicker: FC = ({ onOpenChange={onShowChange} > {trigger} -
+