From 1cb1b5083fad1f0e7e8bd0039e2797fa603f6016 Mon Sep 17 00:00:00 2001 From: Andrey Onishchenko Date: Fri, 13 Feb 2026 19:16:22 +0300 Subject: [PATCH] fix: remove tag badges next to filter button to save space Show only the count inside the filter button instead of rendering individual tag badges alongside it. --- apps/dokploy/components/shared/tag-filter.tsx | 35 +------------------ 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/apps/dokploy/components/shared/tag-filter.tsx b/apps/dokploy/components/shared/tag-filter.tsx index 89131929e..22e428b52 100644 --- a/apps/dokploy/components/shared/tag-filter.tsx +++ b/apps/dokploy/components/shared/tag-filter.tsx @@ -1,4 +1,4 @@ -import { Filter, X } from "lucide-react"; +import { Filter } from "lucide-react"; import * as React from "react"; import { HandleTag } from "@/components/dashboard/settings/tags/tag-manager"; import { Badge } from "@/components/ui/badge"; @@ -53,10 +53,6 @@ export function TagFilter({ onTagsChange([]); }; - const selectedTagObjects = tags.filter((tag) => - selectedTags.includes(tag.id), - ); - return (
@@ -134,35 +130,6 @@ export function TagFilter({ - - {selectedTagObjects.length > 0 && ( -
- {selectedTagObjects.map((tag) => ( - - {tag.name} - - - ))} -
- )}
); }