From 0bbb596c4ce8ecfb2f94e0ec49ca69760ecf5b31 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 5 Nov 2024 18:24:42 +0100 Subject: [PATCH] Don't show nameOriginalRow if there's no original name --- _includes/anime.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/anime.tsx b/_includes/anime.tsx index 2ce6328..cc11d94 100644 --- a/_includes/anime.tsx +++ b/_includes/anime.tsx @@ -17,7 +17,7 @@ export default function(data: AnimeData, helpers: Lume.Helpers) { const dateSeparator = (data.progress || data.hours_played) ?
: null - const nameOriginalRow = ( + const nameOriginalRow = data.name_original ? ( - ) + ) : null const nameSeparator = (data.name_original) ?
: null