knossos
knossos copied to clipboard
[Bug]: Discard changes on version page does not discard client side
Describe the bug
When pressing discard changes the changes are not sent to the sever, but they are kept on the client, and are only cleared after a page refresh
Steps to reproduce
- Go to a project's version page (of a project you can edit)
- Click "Edit"
- Edit the page
- Click "Discard changes"
- Your changes are visible on the version page, and are retained when editing again
Expected behavior
All changes are discarded from the client and you see the original version page
Additional context
Original page:
After discarding changes:
After clicking edit again:
I call dibs on this bug!