-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: update Puck after clearing local changes and fix undo state #18
Conversation
Setting initialHistory won't work as that only gets used on Puck mount. It might work by setting the puck history. If that doesn't seem to work then we'll need to have the page refresh. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm assuming all is tested and working as expected
SUMO-6143
This fixes the Clear Local Changes button to:
Additionally, this fixes the undo button to properly undo to the original state before there were any changes instead of getting stuck at the first change.