Menu conditional change

Made a minor adjustment to the conditional check for whether to display menu items or not.