mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 19:29:34 +08:00
FIX: 'typeClass' shoud handle multi-word setting types - take 2
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user