0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-30 08:52:38 +00:00

Add a page count to User page

This commit is contained in:
G.Ambatte
2021-07-31 17:21:25 +12:00
parent f1d19d2d63
commit 2e68cd77fa
3 changed files with 8 additions and 0 deletions

View File

@@ -124,6 +124,9 @@ const BrewItem = createClass({
<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>

View File

@@ -72,4 +72,7 @@
padding : 0px;
margin : -5px;
}
.spacer {
height : 25px;
}
}