mirror of
https://github.com/danbulant/Mangades
synced 2026-06-18 05:41:05 +00:00
fix title being undefined
This commit is contained in:
parent
d537c9b530
commit
5dedcf2528
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@
|
|||
{#await relations then relations}
|
||||
<Item
|
||||
r18={!['safe', 'suggestive'].includes(manga.attributes.contentRating)}
|
||||
title={manga.attributes.title.en}
|
||||
title={manga.attributes.title.en || manga.attributes.title["ja"] || manga.attributes.title["ja-ro"] || Object.values(manga.attributes.title)[0]}
|
||||
description={manga.attributes.description.en}
|
||||
cover={`https://uploads.mangadex.org/covers/${manga.id}/${getCoverArt(manga, relations)}.512.jpg`}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue