hide page-numbers component when there are no elements to display