Fix navbar root menu not working with single dropdown menu

Status Job ID Name Coverage
  Lint
passed #104930767
eslint

00:01:06

passed #104930768
phpcs

00:02:31