Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚑 🐛 Staging dashboard error fix #1021

Conversation

Abby-Wheelis
Copy link
Member

This PR aims to fix the errors popping up on the dashboard on staging right now, which are also breaking the dashboard. You can see more about the investigation that led to this fix in the thread starting here.

I've now tested this fix on all 4 of my opCodes (including my personal nrel commute) and have not seen errors on any of them. I tested on NREL commute since the dashboard is working on my personal phone, and I wanted to make sure that the values were correct - the carbon and distances match exactly, calories are different, but that is because I have userData on my phone but not on the emulator.

The use of .options on these lines was always resulting in modeOptions and therefore the customMETs an CustomFootprint in being undefined.
This was breaking and causing errors on the dashboard on staging.
@shankari shankari changed the title 🐛 Staging dashboard error fix 🚑 🐛 Staging dashboard error fix Aug 23, 2023
@shankari
Copy link
Contributor

I think that this deserves an 🚑 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants