mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Deprecation: Use Ember.Helper for later versions of Ember
This commit is contained in:
@@ -24,7 +24,7 @@ export default Em.Component.extend({
|
||||
|
||||
options.forEach((option, i) => {
|
||||
const percentage = percentages[i];
|
||||
const style = new Ember.Handlebars.SafeString(`width: ${percentage}%`);
|
||||
const style = new Handlebars.SafeString(`width: ${percentage}%`);
|
||||
|
||||
option.setProperties({
|
||||
percentage,
|
||||
|
||||
Reference in New Issue
Block a user