diff --git a/apps/dokploy/components/shared/tag-filter.tsx b/apps/dokploy/components/shared/tag-filter.tsx index 0faa37a88..12a210a6d 100644 --- a/apps/dokploy/components/shared/tag-filter.tsx +++ b/apps/dokploy/components/shared/tag-filter.tsx @@ -94,9 +94,10 @@ export function TagFilter({
- No tags found. + {tags.length === 0 + ? "No tags created yet." + : "No tags found."} -
@@ -118,6 +119,9 @@ export function TagFilter({ ); })} +
+ +
diff --git a/apps/dokploy/components/shared/tag-selector.tsx b/apps/dokploy/components/shared/tag-selector.tsx index 26e528e32..036173ded 100644 --- a/apps/dokploy/components/shared/tag-selector.tsx +++ b/apps/dokploy/components/shared/tag-selector.tsx @@ -111,19 +111,12 @@ export function TagSelector({
- No tags found. + {tags.length === 0 + ? "No tags created yet." + : "No tags found."} -
- {tags.length === 0 && ( -
- - No tags created yet. - - -
- )} {tags.map((tag) => { const isSelected = selectedTags.includes(tag.id); @@ -153,6 +146,9 @@ export function TagSelector({ ); })} +
+ +