diff --git a/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/status-indicators.tsx b/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/status-indicators.tsx index 1c28ef3019..9f3543a475 100644 --- a/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/status-indicators.tsx +++ b/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/status-indicators.tsx @@ -45,20 +45,38 @@ const StatusIndicators = ({ needsConfiguration, modelProvider, inModelList, disa {/* plugin installed and model is in model list but disabled */} {/* plugin installed from github/local and model is not in model list */} {!needsConfiguration && modelProvider && disabled && ( - - {!pluginInfo ? : plugin.name === pluginInfo.name)?.plugin_unique_identifier ?? ''} />} - + <> + {inModelList ? ( + + + + ) : !pluginInfo ? ( + + + + ) : ( + plugin.name === pluginInfo.name)?.plugin_unique_identifier ?? ''} + /> + )} + > )} {!modelProvider && !pluginInfo && ( = (props) => { } const { t } = useTranslation() return - + e.stopPropagation()}> {isShowUpdateModal && pluginDetail &&