feat(#46): Add checkmark for pokemon in home

This commit is contained in:
Josh Creek
2024-07-17 18:52:09 +01:00
parent 8a9185944d
commit c8a82c0bbe
+6
View File
@@ -189,6 +189,12 @@
> >
<Tooltip> <Tooltip>
<div slot="hover-target"> <div slot="hover-target">
{#if catchRecord.inHome}
<span
class="absolute -top-5 -right-4 z-2 p-1 text-secondary text-lg font-extrabold"
>&#10003;</span
>
{/if}
<PokemonSprite <PokemonSprite
pokemonName={pokedexEntry.pokemon} pokemonName={pokedexEntry.pokemon}
pokedexNumber={pokedexEntry.pokedexNumber} pokedexNumber={pokedexEntry.pokedexNumber}