mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-02 08:32:41 +00:00
Merge pull request #2318 from G-Ambatte/addTagsToBrewItem-#2317
[UserPage] Add tags to UserPage BrewItem
This commit is contained in:
@@ -104,6 +104,13 @@ const BrewItem = createClass({
|
|||||||
</div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
<div className='info'>
|
<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')}`}>
|
<span title={`Authors:\n${brew.authors?.join('\n')}`}>
|
||||||
<i className='fas fa-user'/> {brew.authors?.join(', ')}
|
<i className='fas fa-user'/> {brew.authors?.join(', ')}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user