Closed bmblumenfeld closed 4 years ago
Very quick fix for no data error in InfoTripSummary. This is not an ideal fix just a patch so not getting blank screen on prod. Seems there was a change in commit: https://github.com/trynmaps/metrics-mvp/commit/cabe88a5ba1dc7f605b6cb267b1f6fff10cec69a That defaulted scores to null instead of empty object. Just changed it back.
Select route and set a trip with start and end stops. Trip summary cards should render greyed out.
Looks fine, though I still get a blank screen error on the homepage and can't test properly.
Proposed changes
Very quick fix for no data error in InfoTripSummary. This is not an ideal fix just a patch so not getting blank screen on prod. Seems there was a change in commit: https://github.com/trynmaps/metrics-mvp/commit/cabe88a5ba1dc7f605b6cb267b1f6fff10cec69a That defaulted scores to null instead of empty object. Just changed it back.
Steps to test
Select route and set a trip with start and end stops. Trip summary cards should render greyed out.