fix navbar from showing empty category

When all modules for a certain category have been disabled, don't show the category menu