From 29be6b5503d6a8107a003108c5a8c9b56164d27e Mon Sep 17 00:00:00 2001 From: Soumyadas15 Date: Fri, 6 Jun 2025 11:16:29 +0530 Subject: [PATCH] chore(ux): visual bugs fix --- .../app/(dashboard)/agents/_components/mcp/browse-dialog.tsx | 2 +- .../(dashboard)/agents/_components/mcp/mcp-server-card.tsx | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/frontend/src/app/(dashboard)/agents/_components/mcp/browse-dialog.tsx b/frontend/src/app/(dashboard)/agents/_components/mcp/browse-dialog.tsx index 0812003b..2bfc88b1 100644 --- a/frontend/src/app/(dashboard)/agents/_components/mcp/browse-dialog.tsx +++ b/frontend/src/app/(dashboard)/agents/_components/mcp/browse-dialog.tsx @@ -116,7 +116,7 @@ export const BrowseDialog: React.FC = ({ {!searchQuery && popularServersV2?.success && popularServersV2.pagination && ( -
+
Showing {((currentPage - 1) * pageSize) + 1} to {Math.min(currentPage * pageSize, popularServersV2.pagination.totalCount)} of {popularServersV2.pagination.totalCount} servers
diff --git a/frontend/src/app/(dashboard)/agents/_components/mcp/mcp-server-card.tsx b/frontend/src/app/(dashboard)/agents/_components/mcp/mcp-server-card.tsx index 49943029..fd071df5 100644 --- a/frontend/src/app/(dashboard)/agents/_components/mcp/mcp-server-card.tsx +++ b/frontend/src/app/(dashboard)/agents/_components/mcp/mcp-server-card.tsx @@ -29,11 +29,6 @@ export const McpServerCard: React.FC = ({ server, onClick }) {server.security?.scanPassed && ( )} - {server.isDeployed && ( - - Deployed - - )}

{truncateString(server.description, 100)}