diff --git a/web/app/components/plugins/card/index.tsx b/web/app/components/plugins/card/index.tsx index 1cc18ac24f..99328d6f88 100644 --- a/web/app/components/plugins/card/index.tsx +++ b/web/app/components/plugins/card/index.tsx @@ -48,7 +48,7 @@ const Card = ({ const { t } = useMixedTranslation(localeFromProps) const { categoriesMap } = useSingleCategories(t) const { category, type, name, org, label, brief, icon, verified, badges = [] } = payload - const isBundle = !['plugin', 'model', 'tool', 'extension', 'agent-strategy'].includes(type) + const isBundle = !['plugin', 'model', 'tool', 'datasource', 'extension', 'agent-strategy'].includes(type) const cornerMark = isBundle ? categoriesMap.bundle?.label : categoriesMap[category]?.label const getLocalizedText = (obj: Record | undefined) => obj ? renderI18nObject(obj, locale) : '' diff --git a/web/app/components/plugins/marketplace/plugin-type-switch.tsx b/web/app/components/plugins/marketplace/plugin-type-switch.tsx index ed04ff34f1..2784402466 100644 --- a/web/app/components/plugins/marketplace/plugin-type-switch.tsx +++ b/web/app/components/plugins/marketplace/plugin-type-switch.tsx @@ -2,6 +2,7 @@ import { RiArchive2Line, RiBrain2Line, + RiDatabase2Line, RiHammerLine, RiPuzzle2Line, RiSpeakAiLine, @@ -60,7 +61,7 @@ const PluginTypeSwitch = ({ { value: PLUGIN_TYPE_SEARCH_MAP.datasource, text: t('plugin.category.datasources'), - icon: , + icon: , }, { value: PLUGIN_TYPE_SEARCH_MAP.agent,