mirror of
https://github.com/flarum/core.git
synced 2025-05-30 19:26:11 +02:00
By casting the length int to a bool, if there are no badges, we don't display a 0. It seems that mithril will render integers, but not booleans. Fixes https://github.com/flarum/QualityAssurance/issues/28