diff --git a/web/app/components/tools/mcp/detail/content.tsx b/web/app/components/tools/mcp/detail/content.tsx index cb2263809c..6ffbe15184 100644 --- a/web/app/components/tools/mcp/detail/content.tsx +++ b/web/app/components/tools/mcp/detail/content.tsx @@ -194,7 +194,7 @@ const MCPDetailContent: FC = ({ )} - {detail.is_team_authorization && !isGettingTools && !toolList.length && ( + {!isUpdating && detail.is_team_authorization && !isGettingTools && !toolList.length && (
{t('tools.mcp.toolsEmpty')}
)} - {!isGettingTools && toolList.length > 0 && ( + {!isUpdating && !isGettingTools && toolList.length > 0 && ( <>
@@ -228,7 +228,7 @@ const MCPDetailContent: FC = ({ )} - {!detail.is_team_authorization && ( + {!isUpdating && !detail.is_team_authorization && (
{!isAuthorizing &&
{t('tools.mcp.authorizingRequired')}
} {isAuthorizing &&
{t('tools.mcp.authorizing')}
} diff --git a/web/app/components/tools/mcp/provider-card.tsx b/web/app/components/tools/mcp/provider-card.tsx index a28b0a1ca7..9ff579ef96 100644 --- a/web/app/components/tools/mcp/provider-card.tsx +++ b/web/app/components/tools/mcp/provider-card.tsx @@ -101,7 +101,7 @@ const MCPCard = ({ )}
/
-
{`${t('tools.mcp.updateTime')} ${formatTimeFromNow(data.updated_at!)}`}
+
{`${t('tools.mcp.updateTime')} ${formatTimeFromNow(data.updated_at! * 1000)}`}