From bf1ead4d0c01acfc0e64f7ea0cf103a9b145773a Mon Sep 17 00:00:00 2001 From: Radoslaw Szwajkowski Date: Thu, 18 Apr 2024 16:37:38 +0200 Subject: [PATCH] :bug: Fallback to tag category name for empty categories (#1855) Resolves: https://issues.redhat.com/browse/MTA-2186 Signed-off-by: Radoslaw Szwajkowski Signed-off-by: Cherry Picker --- client/src/app/pages/controls/tags/tags.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/pages/controls/tags/tags.tsx b/client/src/app/pages/controls/tags/tags.tsx index bf654ba8c..b3efd2e0e 100644 --- a/client/src/app/pages/controls/tags/tags.tsx +++ b/client/src/app/pages/controls/tags/tags.tsx @@ -190,7 +190,7 @@ export const Tags: React.FC = () => { ?.map((tag) => tag.name) .concat(tagCategoryNames) .join(""); - return tagNames || ""; + return tagNames || tagCategoryNames || ""; }, selectOptions: dedupeFunction( tagCategories