mirror of
https://github.com/discourse/discourse.git
synced 2025-05-10 05:33:09 +08:00

There is a problem that if you read all messages, even when a new one arrives, the button on the top is not showing. This is because once the button got `hidden` class, a label under is properly updated, however, the class is not removed. Therefore, I added computed isHidden function which is recalculated when `count` change.