Screenshots get rendered multiple times in patch review teasers
Steps to reproduce:
- have a patch with a review that has a screenshot
- click on the patch in the sidebar multiple times
- the screenshots in the review teaser get rendered multiple times
Expected:
- reloading the patch shouldn’t duplicate the screenshots in the review teaser
This only seems to happen in review teasers, patch body, comments, replies and issues seem to handle this fine.
Think this was a problem with reviews not supporting embeds in the first place, so the front-end had the screenshots somewhere cached. We disabled review embeds for now until the protocol supports it here.