FIX: ember3 regression, uses model as bufferedProperty for badges (#6875)

approved

#1

FIX: ember3 regression, uses model as bufferedProperty for badges (#6875)

diff --git a/app/assets/javascripts/admin/controllers/admin-badges-show.js.es6 b/app/assets/javascripts/admin/controllers/admin-badges-show.js.es6
index 351d8e4..5bf29b0 100644
--- a/app/assets/javascripts/admin/controllers/admin-badges-show.js.es6
+++ b/app/assets/javascripts/admin/controllers/admin-badges-show.js.es6
@@ -1,8 +1,8 @@
 import { popupAjaxError } from "discourse/lib/ajax-error";
-import BufferedContent from "discourse/mixins/buffered-content";
+import { bufferedProperty } from "discourse/mixins/buffered-content";
 import { propertyNotEqual } from "discourse/lib/computed";
 
-export default Ember.Controller.extend(BufferedContent, {
+export default Ember.Controller.extend(bufferedProperty("model"), {
   adminBadges: Ember.inject.controller(),
   saving: false,
   savingStatus: "",

GitHub sha: 9f39ac83


#2