当为0时,显示在红色的“此IP地址的其他账户”计数器

I noticed the counter for users with the same IP address turned red a couple of weeks ago:

I think it came from this commit by Kris @awesomerobot :thinking:

Could I make a small recommendation / change request please? :blush:

The counter probably doesn’t need to be red if it’s a 0, maybe only colour it in red if >0 :thinking:

10 个赞

Yes good point!

7 个赞

Will be fixed by: UX: only show red count in IP lookup when greater than 0 by awesomerobot · Pull Request #30584 · discourse/discourse · GitHub

6 个赞

Fantastic :smiley:

Thanks @awesomerobot, this new commit will stop me reacting like this every time I open the IP address modal:

:scream:

Thanks once again :blush:

4 个赞

This topic was automatically closed after 3 days. New replies are no longer allowed.