mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-23 10:07:02 +00:00
Fix "No tags" message
This commit is contained in:
1 parent
bc83e1f84d
commit
d5dbf46fc4
1 file changed
+1
-1
@@ -34,7 +34,7 @@ const MetadataNav = createClass({
|
||||
},
|
||||
|
||||
getTags : function(){
|
||||
if(!this.props.brew.tags) return 'No tags';
|
||||
if(this.props.brew.tags.length == 0) return 'No tags';
|
||||
return <>
|
||||
{this.props.brew.tags.map((tag, idx)=>{
|
||||
return <span className='tag' key={idx}>{tag}</span>;
|
||||
|
||||
Reference in new issue
Block a user