You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happens because when we come from the detail page, the "id" that is passed to showFuel (in controller) is the trip ID rather than the pico ID for the vehicle. So, there's no vehicle context.
Hey @alexkolson can you take a look at this. I spent 45 minutes trying to understand the flow, where IDs are, etc. and while I've got some clues, I'm lost.
I do know that the ID that shows up in the page route for a trip detail page is the trip ID whereas it's the vehicle ID (pico ID) when I'm looking at trip summary page. But I can't see how clicking on the Fuel icon actually translates into action with parameters.
When you're looking at a trip detail for a vehicle and click the fuel icon, you stay where you're at rather than going to fuel page for that vehicle.
I've confirmed that the call to the backend happens, so the app thinks it's doing something.
The text was updated successfully, but these errors were encountered: