FIX: 'typeClass' shoud handle multi-word setting types

This commit is contained in:
Régis Hanol 2015-08-27 10:48:37 +02:00
parent 4b6366fa3f
commit 95c8ec50a8
1 changed files with 1 additions and 1 deletions

View File

@ -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")