mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 05:52:38 +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.