harsohailB / Jambo

An e-commerce store to sell merchandise for Jambo Apparel
https://www.jamboapparel.com
2 stars 0 forks source link

differentiate image forms by array index and not image links #150

Closed harsohailB closed 3 years ago

harsohailB commented 3 years ago

What the bug was:

The image forms in the new item/edit item forms were identified with their image link. However, when image links were the same in two different forms, making changes to their dropdown or deleting em changed all images forms with the same link.

How it was fixed:

Image forms are now differentiated by an array index which is always unique for each form.

How to test:

Make sure changes to one image form are not changing any other image form in any way or form.

close #144

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/harsohailb/jambo-frontend/7uurxwgsf
✅ Preview: https://jambo-frontend-git-hotfix-image-form-individuality.harsohailb.vercel.app