Skip to content
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

Do not display anchor if admin submenu has no children #15933

Merged

Conversation

rogyar
Copy link
Contributor

@rogyar rogyar commented Jun 7, 2018

Description

In the admin panel if some submenu has no items it's still shown in the menu. Out of the box, we have "Other Settings" submenu in the "Stores" menu which is empty and looks not very good.
The fix prevents rendering submenus with no items (the same behavior we have within a scope of versions 2.2 and 2.3)

Manual testing scenarios

Preconditions: Magento 2.1.x

  1. Go to admin panel
  2. Open "Stores" menu item

Expected behavior

There are no empty submenus

Actual behavior

There's an empty "Other Settings" submenu item with "dimmed" title.

screen shot 2018-06-07 at 14 26 47

@magento-engcom-team
Copy link
Contributor

Hi @rogyar. Thank you for your contribution.
Changes from your Pull Request will be available with the upcoming 2.1.15 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Backend Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner Progress: accept Release Line: 2.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants