My Carbon Footprint - A platform that aims to educate individuals on their contributions of greenhouse gasses and what they can do to lessen their carbon footprint
Describe the problem
On the vehicle calculator, the dropdown options for the Vehicle Model include duplicates of vehicles with the same model and year
Actual behavior
The carbon API endpoint returns vehicle models with only data fields for the model name and year so there are no further details to indicate the difference between each
Expected behavior
It's expected that each dropdown option would be unique
To Reproduce
Steps to reproduce the behavior:
Go to /travel
Click on the Driving tab
Click on and select an option from the Vehicle makes dropdown
Click on and view the options in the Vehicle models dropdown
See error
Screenshots
If applicable, add screenshots or gifs to help explain your problem.
Your Environment:
Found using Chrome on a Windows 11 Laptop
Additional Information
Can be viewed on the vehicle-frontend branch until merged into development
Describe the problem On the vehicle calculator, the dropdown options for the Vehicle Model include duplicates of vehicles with the same model and year
Actual behavior The carbon API endpoint returns vehicle models with only data fields for the model name and year so there are no further details to indicate the difference between each
Expected behavior It's expected that each dropdown option would be unique
To Reproduce Steps to reproduce the behavior:
/travel
Screenshots If applicable, add screenshots or gifs to help explain your problem.
Your Environment:
Additional Information Can be viewed on the
vehicle-frontend
branch until merged into development