-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Template Actions: Fix console error when resetting template #61921
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: -4 B (0%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
Flaky tests detected in 478316d. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9218181379
|
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.
Thank you!
…s#61921) Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
…s#61921) Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
What?
This PR fixes console error when resetting template.
0bedb6fa91ca9a6e7570e81b1ef8a00a.mp4
Why?
isBusy
is not a function.How?
As in the following two places, execute
setIsBusy( false )
beforecloseModal()
.gutenberg/packages/editor/src/components/post-actions/actions.js
Lines 198 to 199 in de9a53a
gutenberg/packages/editor/src/components/post-actions/actions.js
Lines 926 to 927 in de9a53a
Testing Instructions