mirror of
https://github.com/discourse/discourse.git
synced 2024-12-22 15:03:50 +08:00
fdd4804a8d
This commit is fixing the path which sets a default value to trigger. We were doing `if (!this.model.trigger)` but `this.model.trigger` can have `0` as value, which would trigger this codepath and this codepath was setting the first value of `badgeTriggers` as a default value for trigger. |
||
---|---|---|
.. | ||
award.js | ||
index.js | ||
show.js |