1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

Render deleted users better

This commit is contained in:
Toby Zerner
2015-02-26 12:47:50 +10:30
parent e7b93642b2
commit c2c731f6a6
5 changed files with 19 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
import Ember from 'ember';
export default Ember.Handlebars.makeBoundHelper(function(user, options) {
var attributes = 'class="avatar '+options.hash.class+'"';
var attributes = 'class="avatar '+(options.hash.class || '')+'"';
var content = '';
if (user) {