Closed pabloarosado closed 2 months ago
@sophiamersmann my hunch is that this would hopefully be a small thing to fix. Would that be your hunch as well and do you think you could take a look at it in your batch cycle? Probably good to time-box this to, say, two hours or so - what do you think? If you don't have time then assign it to me and I'll see if I can fix it some time soon.
Yes, I'll have a look (but may re-assign it to you if a fix is not obvious to me)
It seems the fix doesn't work for older versions. Is it worth fixing further? Maybe we could hide/disable the button for incompatible versions at least. That would be a better UX.
We feel like this case is rare. We'll close this issue and will wait and see if it ever comes up again as a problem.
Description
The "Restore" button in the grapher chart admin "Revisions" tab doesn't work. The "Compare to previous" button right next to it does work though.
Expected behaviour
The "Restore" button should restore a different version of the chart in the preview.
Steps to reproduce
Steps to reproduce the behavior:
Screenshots
https://github.com/owid/owid-grapher/assets/12246978/bfff5c4b-cba8-4957-b22d-b98661dd3cda