FIX: Binding style attributes need to be escaped.

See http://emberjs.com/deprecations/v1.x/#toc_binding-style-attributes
This commit is contained in:
Guo Xiang Tan 2018-04-06 14:57:34 +08:00
parent cf19982fca
commit a2b9a55036
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ export default Ember.Component.extend({
if (flairHexColor) style += `color: #${flairHexColor};`;
return style;
return Ember.String.htmlSafe(style);
},
@computed('model.flairBackgroundHexColor')