feat: show new message count & new user count in home page
This commit is contained in:
@@ -47,10 +47,12 @@ const Home = () => {
|
||||
href='https://github.com/songquanpeng/message-pusher'
|
||||
target='_blank'
|
||||
>
|
||||
GitHub 仓库地址
|
||||
https://github.com/songquanpeng/message-pusher
|
||||
</a>
|
||||
</p>
|
||||
<p>启动时间:{getStartTimeString()}</p>
|
||||
<p>自从上次启动已发送消息数目:{statusState?.status?.message_count}</p>
|
||||
<p>自从上次启动新注册用户数目:{statusState?.status?.user_count}</p>
|
||||
</Card.Description>
|
||||
</Card.Content>
|
||||
</Card>
|
||||
@@ -85,6 +87,18 @@ const Home = () => {
|
||||
? '已启用'
|
||||
: '未启用'}
|
||||
</p>
|
||||
<p>
|
||||
全局消息持久化:
|
||||
{statusState?.status?.message_persistence === true
|
||||
? '已启用'
|
||||
: '未启用'}
|
||||
</p>
|
||||
<p>
|
||||
全局消息渲染:
|
||||
{statusState?.status?.message_render === true
|
||||
? '已启用'
|
||||
: '未启用'}
|
||||
</p>
|
||||
</Card.Description>
|
||||
</Card.Content>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user