Skip to content

Commit 2f725f6

Browse files
committed
Changes requested from review
1 parent 0c8aa6d commit 2f725f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/program.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function Program ({ eventsList, tagsList, themesList }) {
165165
<Collapse in={open} className='bg-light border p-3 rounded-sm'>
166166
<div id='searchEvent' className='searchEvent mb-3'>
167167
<SearchBox value={searchText} onChange={handleSearch} />
168-
{themes.length > 1 && themes && (
168+
{themes && themes.length > 0 && (
169169
<div className='mb-3'>
170170
<BadgeList
171171
title={t('Themes', { n: 87 })}
@@ -176,7 +176,7 @@ function Program ({ eventsList, tagsList, themesList }) {
176176
onItemSelect={handleThemeSelect}
177177
/>
178178
</div>)}
179-
{tags.length > 1 && tags && (
179+
{tags && tags.length > 0 && (
180180
<BadgeList
181181
title={t('Tags', { n: 87 })}
182182
items={tags}

0 commit comments

Comments
 (0)