Flight stats incorrect for reused dragon capsules in commercial crew section
MMeent opened this issue · comments
Matthias van de Meent commented
https://github.com/r-spacex/spacexstats-react/blob/master/src/components/blocks/Dragon/charts/commercialCrewFlights.ts#L34 incorrectly assumes that flight time of the payload.dragon
is invalid when payload.reused is set, and thus defaults to 0.
I think that that is incorrect.
Currently, this means that flights with reused capsules are displayed as if they had 0 flight time, which is obviously incorrect.
Albéric Trancart commented
Good catch, this has been fixed since then!