This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
Some images don't have "Related images" but the header for the section is still displayed #1719
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
good first issue
New-contributor friendly
help wanted
Open to participation from the community
🟨 priority: medium
Not blocking but should be addressed soon
Problem
One of our current featured images (the one shown on the homepage) appear to have no related images after some modifications in the API endpoint (WordPress/openverse-api#865). This is likely happening with more images, so will be better to hide the header when the section is empty.
The details page of this featured image:
https://search-production.openverse.engineering/image/648b566f-0228-4819-83d5-8f1d324ec06d
Alternatives
This is open to alternatives while is reworked on the API.
Implementation
The text was updated successfully, but these errors were encountered: