diff --git a/web/app/components/plugins/plugin-detail-panel/multiple-tool-selector/index.tsx b/web/app/components/plugins/plugin-detail-panel/multiple-tool-selector/index.tsx index a6532ae6f7..6adf26ee79 100644 --- a/web/app/components/plugins/plugin-detail-panel/multiple-tool-selector/index.tsx +++ b/web/app/components/plugins/plugin-detail-panel/multiple-tool-selector/index.tsx @@ -34,6 +34,7 @@ const MultipleToolSelector = ({ onChange, }: Props) => { const { t } = useTranslation() + const enabledCount = value.filter(item => item.enabled).length // collapse control const [collapse, setCollapse] = React.useState(false) const handleCollapse = () => { @@ -101,7 +102,7 @@ const MultipleToolSelector = ({ {value.length > 0 && ( <>
- {`${value.length}/${value.length}`} + {`${enabledCount}/${value.length}`} {t('appDebug.agent.tools.enabled')}