-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Navigation: Only show the deleted menu warning if a ref is specified #47699
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
Conversation
draganescu
left a comment
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.
Yes, that was an oversight. Thank you @scruffian
|
Size Change: -1 B (0%) Total Size: 1.31 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in 01d3dc3. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4076132478
|
…47699) Co-authored-by: scruffian <[email protected]>
|
I just cherry-picked this PR to the release/15.1 branch to get it included in the next release: 0101915 |
What?
If a navigation block is in a fallback state, it displays a deleted message. This removes that notice.
Why?
This message is incorrect and misleading.
How?
Also check that a ref is set before displaying the notice. This is how the component is displayed in the main edit component.
Testing Instructions
Testing Instructions for Keyboard
As above
Screenshots or screencast
Before:

After:
