Showing the Invite button in a subcategory

Sometimes we have categories with the invite button.
Sometimes we don’t.

What settings have to be in place for the Invite button to be shown on a subcategory?