HUE-1732 [core] Hide menu sections from navbar if list of apps is empty

Sections are hidden if no apps are available and are reduced to a single app if just one is available