sales can be ints

This commit is contained in:
nikolark committed 2015-08-11 20:46:03 +02:00
1 parent 2e7b037c7e
commit 1d6b2dac3c
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@
function toHighchartsSeries(memberships) {
return _.map(memberships, function (el) {
return [moment.utc(el.date).valueOf(), parseInt(el.sales, 10)]
return [moment.utc(el.date).valueOf(), el.sales]
});
}