diff --git a/app/assets/javascripts/discourse/models/user.js.es6 b/app/assets/javascripts/discourse/models/user.js.es6 index 9f4a6bd0148..f4042da6e1b 100644 --- a/app/assets/javascripts/discourse/models/user.js.es6 +++ b/app/assets/javascripts/discourse/models/user.js.es6 @@ -720,7 +720,12 @@ const User = RestModel.extend({ return _.uniq(titles) .sort() - .map(Ember.Handlebars.Utils.escapeExpression); + .map(title => { + return { + name: Ember.Handlebars.Utils.escapeExpression(title), + id: title + }; + }); }, @computed("user_option.text_size_seq", "user_option.text_size")