Get the base favourite mechanism working so the items are visible on the skills card

This commit is contained in:
Oliver-Akins 2025-03-22 21:20:02 -06:00
parent 7d39c487dc
commit c495f45015
14 changed files with 165 additions and 27 deletions

View file

@ -118,6 +118,24 @@
{{ ammo }}
</div>
</div>
{{#each favouriteAmmo as | data |}}
{{#if data}}
<div
class="half-pill fav-ammo"
data-item-id="{{data.uuid}}"
>
<label for="{{@root.meta.idp}}-{{data.uuid}}-quantity">
{{data.name}}
</label>
<input
type="number"
value="{{data.quantity}}"
id="{{@root.meta.idp}}-{{data.uuid}}-quantity"
>
</div>
{{else}}
{{/if}}
{{/each}}
{{!-- * Currencies --}}
<div class="currencies">