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

This commit is contained in:
Joffrey JAFFEUX 2019-01-11 00:46:03 +01:00 committed by GitHub
parent 4852cee946
commit 9f39ac8366
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: "",