FIX: Use unescaped title as combo-box id (#7979)

This commit is contained in:
Roman Rizzi 2019-08-06 16:27:01 -03:00 committed by GitHub
parent 606c0ed14d
commit 44ad8ee39b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -759,7 +759,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")