mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 16:24:55 +00:00
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')
|
||||
typeClass(componentType) {
|
||||
return componentType.replace("_", "-");
|
||||
return componentType.replace(/\_/g, ' ');
|
||||
},
|
||||
|
||||
@computed("setting.setting")
|
||||
|
Loading…
x
Reference in New Issue
Block a user