From 8c20adf1bb27ff608000ff99be8f7ae44a15d420 Mon Sep 17 00:00:00 2001
From: druid <druid@druids-MacBook-Pro-2.local>
Date: Thu, 4 Feb 2021 14:04:22 +0200
Subject: [PATCH] not render tags if they are empty

---
 .../courses/hy-content-list-item/hy-content-list-item.tsx       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/courses/hy-content-list-item/hy-content-list-item.tsx b/src/components/courses/hy-content-list-item/hy-content-list-item.tsx
index 5ccfb496..649de21b 100644
--- a/src/components/courses/hy-content-list-item/hy-content-list-item.tsx
+++ b/src/components/courses/hy-content-list-item/hy-content-list-item.tsx
@@ -93,7 +93,7 @@ export class HyContentLstItem {
                 </div>,
               ]}
         </div>
-        {this._courseTags && (
+        {this._courseTags.length > 0 && (
           <div class="hy-content-list-item--tags">
             {this._courseTags.map((x) => {
               return <hy-tag>{x.name}</hy-tag>;
-- 
GitLab