diff options
author | Vitaly Takmazov | 2018-07-15 11:56:21 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:53 +0300 |
commit | 049f4eb108b4680e6f560a612540819ee999a1f0 (patch) | |
tree | 07bf0bcc4a744aa12092fc816b77026557f5ffa6 /vnext | |
parent | 9057ca1824f0d5ba32478dd1ead9f97a5e44c387 (diff) |
Read and readers stats
Diffstat (limited to 'vnext')
-rw-r--r-- | vnext/src/App.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/App.js b/vnext/src/App.js index 20ece23e..e13a5f74 100644 --- a/vnext/src/App.js +++ b/vnext/src/App.js @@ -199,8 +199,8 @@ export default class App extends React.Component { <hr /> <div id="ustats"> <ul> - <li><Link to={`/${user.uname}/friends`}>I read: {user.statsIRead}</Link></li> - <li><Link to={`/${user.uname}/readers`}>My readers: {user.statsMyReaders}</Link></li> + <li><Link to={`/${user.uname}/friends`}>I read: {user.read ? user.read.length : 0}</Link></li> + <li><Link to={`/${user.uname}/readers`}>My readers: {user.readers? user.readers.length : 0}</Link></li> { user.statsMyBL && <li><Link to={`/${user.uname}/bl`}>My blacklist: {user.statsMyBL}</Link></li> |