diff --git a/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte b/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte index 6d021c9..b2eced9 100644 --- a/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte +++ b/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte @@ -6,6 +6,8 @@ export let pokedexEntry: PokedexEntry; export let catchRecord: CatchRecord; + export let showOrigins: boolean; + export let showForms: boolean; const dispatch = createEventDispatcher(); @@ -34,15 +36,19 @@ -
Form: {pokedexEntry.form ? pokedexEntry.form : '-'}
-Form: {pokedexEntry.form ? pokedexEntry.form : '-'}
+Box: {pokedexEntry.boxPlacement.box}
Row: {pokedexEntry.boxPlacement.row}
Column: {pokedexEntry.boxPlacement.column}
-Can Gigantamax: {pokedexEntry.canGigantamax ? 'Yes' : 'No'}
+ {#if showForms} +Can Gigantamax: {pokedexEntry.canGigantamax ? 'Yes' : 'No'}
+ {/if}Notes: {pokedexEntry.notes}
Region to Catch In: {pokedexEntry.regionToCatchIn}
-Games to catch in:
-Region to Evolve In: {pokedexEntry.regionToEvolveIn}
- {/if} -Region to Catch In: {pokedexEntry.regionToCatchIn}
+Games to catch in:
+Region to Evolve In: {pokedexEntry.regionToEvolveIn}
+ {/if} +