When swapping ingredients, the colored ratings in the table don't seem to change to reflect the newly selected ingredient. To reproduce the error, navigate to the page to check for ethical options:
Select a recipe
Click "Check for Ethical Options"
Swap out an ingredient.
For example, I swapped to 'butter-organic', but the r_global_warming = 2.0 still shows up under Cons:
Thanks, this hasn't been updated yet to be dynamic. Wanted to make sure that calculated scores worked first before moving to ingredient pro/con comparison.
When swapping ingredients, the colored ratings in the table don't seem to change to reflect the newly selected ingredient. To reproduce the error, navigate to the page to check for ethical options:
r_global_warming = 2.0
still shows up under Cons:Originally posted by @elaguerta in https://github.com/CHRYSICS/CS361-Group-04/issues/20#issuecomment-736083762