Fix menu block showing up even when no subitems in drupal 8 bug

I personally like using the drupal menu block module. It allows for quick creation of submenu's. The following patch fixes a bug that keeps showing regions, even when there are no subitems in the menu block.

Patch on GitHub.

 

Saved you some valuable time?

Buy me a drink 🍺 to keep me motivated to create free content like this!