[UserPage] Add tags to UserPage BrewItem
This commit is contained in:
Trevor Buckner authored and GitHub committed 2022-09-02 23:43:26 -04:00
commit 8d10800cb6
1 file changed
+7
@@ -104,6 +104,13 @@ const BrewItem = createClass({
</div>
<hr />
<div className='info'>
{brew.tags ? <>
<span className='brewTags' title={`Tags:\n${brew.tags.join('\n')}`}>
<i className='fas fa-tags'/> {brew.tags.join(', ')}
</span>
<br />
</> : <></>
}
<span title={`Authors:\n${brew.authors?.join('\n')}`}>
<i className='fas fa-user'/> {brew.authors?.join(', ')}
</span>