From 8d86d93bc0d307de48971e4be550442539c6bec7 Mon Sep 17 00:00:00 2001 From: Josh Creek <8179928+jcreek@users.noreply.github.com> Date: Fri, 12 Jul 2024 14:38:30 +0100 Subject: [PATCH] feat(*): Hide notes if there are none --- src/lib/components/pokedex/PokedexEntryCatchRecord.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte b/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte index b2eced9..690b3cf 100644 --- a/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte +++ b/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte @@ -49,7 +49,9 @@ {#if showForms}
Can Gigantamax: {pokedexEntry.canGigantamax ? 'Yes' : 'No'}
{/if} -Notes: {pokedexEntry.notes}
+ {#if pokedexEntry.notes} +Notes: {pokedexEntry.notes}
+ {/if}