Skip to content

Commit 8f8beb0

Browse files
committed
Remove redundant formatting of percentage column
1 parent 5887c97 commit 8f8beb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/vis_type_table/public/agg_table/agg_table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ function addPercentageCol(columns, title, rows, insertAtIndex) {
258258
formatter,
259259
});
260260
const newRows = rows.map(row => ({
261-
[newId]: formatter.convert(row[id] / sumTotal / 100),
261+
[newId]: row[id] / sumTotal,
262262
...row,
263263
}));
264264

0 commit comments

Comments
 (0)