don't show content of a tab if tab content is empty