Allow a navigation element's row to be tapped only if it has content.