mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
Fix mismatch between pet and star badge (#11041)
This commit is contained in:
committed by
Matteo Pagliazzi
parent
1d8a5b1952
commit
17d8a7b706
@@ -92,7 +92,11 @@
|
|||||||
@click="petClicked(item)"
|
@click="petClicked(item)"
|
||||||
)
|
)
|
||||||
template(slot="itemBadge", slot-scope="context")
|
template(slot="itemBadge", slot-scope="context")
|
||||||
starBadge(:selected="item.key === currentPet", :show="isOwned('pet', item)", @click="selectPet(item)")
|
starBadge(
|
||||||
|
:selected="context.item.key === currentPet",
|
||||||
|
:show="isOwned('pet', context.item)",
|
||||||
|
@click="selectPet(context.item)"
|
||||||
|
)
|
||||||
|
|
||||||
.btn.btn-flat.btn-show-more(@click="setShowMore(petGroup.key)", v-if='petGroup.key !== "specialPets"')
|
.btn.btn-flat.btn-show-more(@click="setShowMore(petGroup.key)", v-if='petGroup.key !== "specialPets"')
|
||||||
| {{ $_openedItemRows_isToggled(petGroup.key) ? $t('showLess') : $t('showMore') }}
|
| {{ $_openedItemRows_isToggled(petGroup.key) ? $t('showLess') : $t('showMore') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user