mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: 'typeClass' shoud handle multi-word setting types - take 2
This commit is contained in:
parent
a289cb5156
commit
71c1eccf2b
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ export default Ember.Component.extend(BufferedContent, ScrollTop, {
|
|||
|
||||
@computed('componentType')
|
||||
typeClass(componentType) {
|
||||
return componentType.replace(/\_/g, ' ');
|
||||
return componentType.replace(/\_/g, '-');
|
||||
},
|
||||
|
||||
@computed("setting.setting")
|
||||
|
|
Loading…
Reference in a new issue