Skip to content

Commit

Permalink
Merge pull request #38 from nzzdev/release-2.0.3
Browse files Browse the repository at this point in the history
Release 2.0.3
  • Loading branch information
philipkueng committed Jun 19, 2018
2 parents 453ba35 + 28b0cb8 commit a2f8d53
Show file tree
Hide file tree
Showing 5 changed files with 1,368 additions and 1,279 deletions.
5 changes: 4 additions & 1 deletion helpers/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ function prepareSelectedColumn(data, selectedColumnIndex) {
negatives: 0
};

data.map(row => {
let dataCopy = clone(data);
dataCopy[0] = dataCopy[0].map(cell => (cell = "")); // first row is always header so ignore it

dataCopy.map(row => {
let value = row[selectedColumnIndex];
let type = miniBarTypes.positive;

Expand Down
Loading

0 comments on commit a2f8d53

Please sign in to comment.