Skip to content

ddt/reports charts: fix wrong emissions/distances

Matt requested to merge msimonin/l1p5-vuejs:dev/fix_nbAnswers into master

The previous implementation leads to wrong distance/emissions sums in the reports table (There's actually 12 travelsMode instead of the initial 11 hardcoded value).

So we make sure nbAnswers status is incremented only once per answer about commutes.

Merge request reports