Skip to content

Commit

Permalink
Display missing datapoint as gray
Browse files Browse the repository at this point in the history
Closes #12.
  • Loading branch information
waldoj committed Nov 10, 2015
1 parent 63f2e92 commit 21abb02
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions public/grid/js/grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@
})
}

for(var index in gridData) {
if (!gridData[index]) {
gridData[index] = "DNE";
}
}

gridData.existsCaption = captions.exists[gridData.exists];
gridData.digitizedCaption = captions.digitized[gridData.digitized];
gridData.isPublicCaption = captions.isPublic[gridData.isPublic];
Expand Down

0 comments on commit 21abb02

Please sign in to comment.