Skip to content

Travels: fix names after reduces

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

this patch set fix some issues with the travels javascript module -- especially the reduce function in src/models/carbon/travels.js:

  • travel.names weren't merged correctly
  • travel.amount weren't increased correctly when dealing with already reduced travels
  • some initial tests for computing corrected distance

more details on the dedicated commits.

Edited by Matt

Merge request reports