mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 07:21:15 +00:00
better dynamic check on .ownsPet
This commit is contained in:
parent
3c91355581
commit
4b1d7d6830
1 changed files with 1 additions and 1 deletions
|
|
@ -484,7 +484,7 @@ do a find for the string after "→"
|
|||
<pet:>
|
||||
<div class="span3 shop-pet" rel=tooltip title="{.text} - {.value} Tokens">
|
||||
<div style='position:relative'>
|
||||
{#if .userOwns}<i class='icon-ok shop-pet-owned-check'></i>{/}
|
||||
{#if _user.items.pets[.name]}<i class='icon-ok shop-pet-owned-check'></i>{/}
|
||||
<img x-bind="click:selectPet" data-pet='{.name}' src='img/BrowserQuest/habitrpg_mods/{.icon}'/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue