Skip to content
Snippets Groups Projects
Commit 8c20adf1 authored by druid's avatar druid
Browse files

not render tags if they are empty

parent e8eb18ef
No related branches found
No related tags found
No related merge requests found
......@@ -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>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment