mirror of
https://github.com/starshardstudio/peafowl.git
synced 2024-11-21 12:34:20 +00:00
Don't show nameOriginalRow if there's no original name
This commit is contained in:
parent
98699d85c3
commit
0bbb596c4c
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ export default function(data: AnimeData, helpers: Lume.Helpers) {
|
|||
|
||||
const dateSeparator = (data.progress || data.hours_played) ? <hr/> : null
|
||||
|
||||
const nameOriginalRow = (
|
||||
const nameOriginalRow = data.name_original ? (
|
||||
<ReviewInfo.MetadataRow
|
||||
className={"anime-nameoriginal"}
|
||||
label={"Original name"}
|
||||
|
@ -26,7 +26,7 @@ export default function(data: AnimeData, helpers: Lume.Helpers) {
|
|||
{data.name_original}
|
||||
</data>
|
||||
</ReviewInfo.MetadataRow>
|
||||
)
|
||||
) : null
|
||||
|
||||
const nameSeparator = (data.name_original) ? <hr/> : null
|
||||
|
||||
|
|
Loading…
Reference in a new issue