fix displaying if a pet is hatchable (#15281)

This commit is contained in:
Phillip Thelen 2024-07-30 19:16:43 +02:00 committed by GitHub
parent 598bc29647
commit 765e08f999
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,16 +13,18 @@
name="itemBadge"
:item="item"
></slot><span
v-if="mountOwned() && isHatchable() && !item.isSpecial()"
v-if="isHatchable() && !item.isSpecial()"
class="item-content hatchAgain"
><span
><Sprite
class="egg"
:class="eggClass"
></span><span
:image-name="eggClass"
/><Sprite
class="potion"
:class="potionClass"
></span></span>
:image-name="potionClass"
/>
</span>
<Sprite
v-else
class="item-content"
:class="itemClass()"
:image-name="imageName()"