diff --git a/app/assets/javascripts/admin/controllers/modals/admin-silence-user.js.es6 b/app/assets/javascripts/admin/controllers/modals/admin-silence-user.js.es6 index 2e12a2196d3..ec55cbdbe88 100644 --- a/app/assets/javascripts/admin/controllers/modals/admin-silence-user.js.es6 +++ b/app/assets/javascripts/admin/controllers/modals/admin-silence-user.js.es6 @@ -1,5 +1,4 @@ import computed from 'ember-addons/ember-computed-decorators'; -import { popupAjaxError } from 'discourse/lib/ajax-error'; import PenaltyController from 'admin/mixins/penalty-controller'; export default Ember.Controller.extend(PenaltyController, { diff --git a/app/assets/javascripts/discourse/helpers/bound-avatar.js.es6 b/app/assets/javascripts/discourse/helpers/bound-avatar.js.es6 index a284fb36714..b8f04b1e6e9 100644 --- a/app/assets/javascripts/discourse/helpers/bound-avatar.js.es6 +++ b/app/assets/javascripts/discourse/helpers/bound-avatar.js.es6 @@ -8,5 +8,6 @@ export default htmlHelper((user, size) => { } const avatarTemplate = Ember.get(user, 'avatar_template'); + return avatarImg({ size, avatarTemplate }); return avatarImg(addExtraUserClasses(user, { size, avatarTemplate })); }); diff --git a/app/assets/javascripts/discourse/lib/utilities.js.es6 b/app/assets/javascripts/discourse/lib/utilities.js.es6 index 1d24485e0fc..37f31b440a2 100644 --- a/app/assets/javascripts/discourse/lib/utilities.js.es6 +++ b/app/assets/javascripts/discourse/lib/utilities.js.es6 @@ -49,6 +49,7 @@ export function avatarImg(options, getURL) { getURL = getURL || Discourse.getURLWithCDN; const size = translateSize(options.size); + console.log(size); const url = avatarUrl(options.avatarTemplate, size); // We won't render an invalid url