FIX: 'typeClass' shoud handle multi-word setting types
This commit is contained in:
parent
4b6366fa3f
commit
95c8ec50a8
|
@ -21,7 +21,7 @@ export default Ember.Component.extend(BufferedContent, ScrollTop, {
|
||||||
|
|
||||||
@computed('componentType')
|
@computed('componentType')
|
||||||
typeClass(componentType) {
|
typeClass(componentType) {
|
||||||
return componentType.replace("_", "-");
|
return componentType.replace(/\_/g, ' ');
|
||||||
},
|
},
|
||||||
|
|
||||||
@computed("setting.setting")
|
@computed("setting.setting")
|
||||||
|
|
Loading…
Reference in New Issue