Skip to content

Fix new dropdown showing on mobile with no items

Paul Slaughter requested to merge ps-fix-new-dropdown-with-no-items into master

What does this MR do?

This MR fixes an issue where the new dropdown rendered in the mobile view would show up, even though there were not any menu items.

Screenshots (strongly suggested)

How to test:

Setup:

  1. As an Admin, create a new user and make sure it is set to "External" and cannot create any projects
  2. Impersonate this user
  3. Shrink the screen size to trigger the mobile nav
  4. Click "Menu"

Expected (this MR):

  1. The "+" nav shouldn't show up 🎉.

Actual (on master):

  1. The "+" nav shows up, and when clicked, shows an empty white box.
Before (on master after clicking "+") After (this MR)
before after

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Paul Slaughter

Merge request reports