Static update for htmlHelper method within bound-avatar helper
This commit is contained in:
parent
cd5d3025d1
commit
ba383027e8
|
@ -1,6 +1,5 @@
|
|||
import { htmlHelper } from 'discourse-common/lib/helpers';
|
||||
import { avatarImg } from 'discourse/lib/utilities';
|
||||
import { addExtraUserClasses } from 'discourse/helpers/user-avatar';
|
||||
|
||||
export default htmlHelper((user, size) => {
|
||||
if (Ember.isEmpty(user)) {
|
||||
|
@ -9,5 +8,4 @@ export default htmlHelper((user, size) => {
|
|||
|
||||
const avatarTemplate = Ember.get(user, 'avatar_template');
|
||||
return avatarImg({ size, avatarTemplate });
|
||||
return avatarImg(addExtraUserClasses(user, { size, avatarTemplate }));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue