"Previews available in:" sometimes displayed without any preview languages #6408
Labels
Lead: @jimchamp
Issues overseen by Jim (Front-end Lead, BookNotes) [managed]
Module: Books Page
Priority: 3
Issues that we can consider at our leisure. [managed]
Type: Bug
Something isn't working. [managed]
Sometimes the "Previews available in:" copy is rendered without any preview languages.
Evidence / Screenshot (if possible)
Relevant url?
https://openlibrary.org/works/OL4472450W/Shad?edition=ia%3Ashad0000corr
Steps to Reproduce
Details
Proposal & Constraints
Do not display "Previews available in:" if there are no previews.
Related files
Code related to this is found here:
openlibrary/openlibrary/templates/type/edition/view.html
Lines 267 to 275 in 46bcf7c
Stakeholders
The text was updated successfully, but these errors were encountered: