0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Eliminate duplicate section

This commit is contained in:
G.Ambatte
2021-08-17 19:26:03 +12:00
parent 4218078502
commit 15f4aef7ef

View File

@@ -115,13 +115,10 @@ const BrewItem = createClass({
<i className='fas fa-eye'/> {brew.views}
</span>
{brew.pageCount &&
<span>
<span title={`Page count: ${brew.pageCount}`}>
<i className='far fa-file' /> {brew.pageCount}
</span>
}
<span>
<i className='far fa-file' /> {brew.pageCount || 1}
</span>
<span>
<i className='fas fa-sync-alt' /> {moment(brew.updatedAt).fromNow()}
</span>