changing the value of string

This commit is contained in:
Simon Martín
2018-01-26 15:44:21 +01:00
parent 99421b613c
commit 8c839e214d
+1 -1
View File
@@ -294,7 +294,7 @@ module.exports = class Aggregation extends BaseDataview {
categoriesCount: categories_count,
categories: result.rows.map(({ category, value, agg }) => {
return {
category: agg ? 'Others' : category,
category: agg ? 'Other' : category,
value,
agg
};