mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 15:22:27 +08:00

* DEV: Remove badge-select-controller 1. The `selectableUserBadges` computed property of `badge-title` was being incorrectly overwritten, which triggered computed-property.override deprecation. 2. The `badge-select-controller` mixin contained properties that were used either by `badge-title` component or `badges/show` controller, but none were being used by both. This change moves properties where they belong, and removes the mixin. * Update app/assets/javascripts/discourse/controllers/badges/show.js.es6 Co-Authored-By: Robin Ward <robin.ward@gmail.com> * Improve code brevity