-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update Puck after clearing local changes and fix undo state (#18)
[SUMO-6143](https://yexttest.atlassian.net/browse/SUMO-6143?atlOrigin=eyJpIjoiZGI5NTk1ZmUzOTE2NGZlNGEzYTdmN2UwZjc2N2EzYzEiLCJwIjoiaiJ9) This fixes the Clear Local Changes button to: 1. Close the modal on confirmation 2. Reset the Puck data state without a page refresh 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. --------- Co-authored-by: Brian Baugher <123590980+brian-baugher@users.noreply.github.com> Co-authored-by: Matt Kilpatrick <mkilpatrick@yext.com>
- Loading branch information
1 parent
b2eaf28
commit 3b33631
Showing
3 changed files
with
85 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters