Skip to content

Commit

Permalink
Improve loading indication.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Mar 5, 2024
1 parent 827cb46 commit d7d1b4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const MenuInspectorControls = ( props ) => {
<InspectorControls group="list">
<PanelBody title={ null }>
<HStack
wrap={ true }
wrap
className="wp-block-navigation-off-canvas-editor__header"
>
<Heading
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function NavigationMenuSelector( {

let currentMenuTitleOrMenuState = '';

if ( isCreatingMenu || isResolvingNavigationMenus ) {
if ( isResolvingNavigationMenus || ! hasResolvedNavigationMenus ) {
currentMenuTitleOrMenuState = __( 'Loading…' );
} else if ( noMenuSelected || noBlockMenus || menuUnavailable ) {
// Note: classic Menus may be available.
Expand Down

0 comments on commit d7d1b4d

Please sign in to comment.