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 romanrizzi
parent b1d2e4daf3
commit 0be47023d4

View File

@ -720,7 +720,12 @@ const User = RestModel.extend({
return _.uniq(titles) return _.uniq(titles)
.sort() .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") @computed("user_option.text_size_seq", "user_option.text_size")