mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 10:56:11 +02:00
Fix humanize filter
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
033e702df5
commit
e5e5c72069
@ -19,7 +19,7 @@ const ConfigField = {
|
||||
|
||||
filters: {
|
||||
humanize: function(value) {
|
||||
return _.capitalize(value.replace("_", " "))
|
||||
return _.capitalize(value.replace(/_/g, " "))
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user