Skip to content

Commit

Permalink
Site Editor: Fix navigation menu sidebar actions order and label (#52592
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Mamaduka authored Jul 13, 2023
1 parent 0d52bad commit 4dad152
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export default function ScreenNavigationMoreMenu( props ) {
<>
<DropdownMenu
className="sidebar-navigation__more-menu"
label={ __( 'Actions' ) }
icon={ moreVertical }
popoverProps={ POPOVER_PROPS }
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ export default function SingleNavigationMenu( {
<SidebarNavigationScreenWrapper
actions={
<>
<EditButton postId={ navigationMenu?.id } />
<ScreenNavigationMoreMenu
menuTitle={ decodeEntities( menuTitle ) }
onDelete={ handleDelete }
onSave={ handleSave }
onDuplicate={ handleDuplicate }
/>
<EditButton postId={ navigationMenu?.id } />
</>
}
title={ buildNavigationLabel(
Expand Down

1 comment on commit 4dad152

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 4dad152.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5542598407
📝 Reported issues:

Please sign in to comment.