[Sprint/UnderstoodUnicorn](fix): Fixed inability to cancel uploaded image. #2334
Summary
Closes #2334
This merge request addresses an issue on production right now where cancelling an image upload causes everything to break.
Steps to test
- Fully upload an image
- Cancel it
- It should cancel
- Upload a new image
Repeat but stop the image mid upload.
All should work fine.
Estimated Regression Scope
This change should affect media uploads across the site. Comments, feeds etc. There is an issue where-in you can get the poster to show no attachment after hitting upload - this occurs when it is waiting for the previous XHR to resolve.
added scoped label
Please register or sign in to reply