Skip to content

Commit

Permalink
Fix subject metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfactotum committed Oct 30, 2024
1 parent 1c44f1a commit a8b006b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/book-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const makeBookInfoBox = (metadata, pixbuf) => {
margin_top: 12,
})
box.append(subjectsBox)
for (const subject of metadata.subject)
for (const subject of [].concat(metadata.subject))
subjectsBox.insert(makeSubjectBox(subject), -1)
}

Expand Down

0 comments on commit a8b006b

Please # to comment.