mirror of
https://github.com/starshardstudio/peafowl.git
synced 2024-11-21 20:44:19 +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 dateSeparator = (data.progress || data.hours_played) ? <hr/> : null
|
||||||
|
|
||||||
const nameOriginalRow = (
|
const nameOriginalRow = data.name_original ? (
|
||||||
<ReviewInfo.MetadataRow
|
<ReviewInfo.MetadataRow
|
||||||
className={"anime-nameoriginal"}
|
className={"anime-nameoriginal"}
|
||||||
label={"Original name"}
|
label={"Original name"}
|
||||||
|
@ -26,7 +26,7 @@ export default function(data: AnimeData, helpers: Lume.Helpers) {
|
||||||
{data.name_original}
|
{data.name_original}
|
||||||
</data>
|
</data>
|
||||||
</ReviewInfo.MetadataRow>
|
</ReviewInfo.MetadataRow>
|
||||||
)
|
) : null
|
||||||
|
|
||||||
const nameSeparator = (data.name_original) ? <hr/> : null
|
const nameSeparator = (data.name_original) ? <hr/> : null
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue