Skip to content

gs-details-page: Ensure the reviews box is hidden if empty

It’s possible for all the children of the box to be hidden or empty for various reasons. If so, hide the outer box, which ensures that the ‘Reviews’ header is hidden.

The list_box_reviews is never hidden, but can be empty, hence the check for reviews->len > 0.

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Fixes: #1376 (closed)

Closes #1376 (closed)

Merge request reports