Show loot actions in sheet (#1312)

This commit is contained in:
Carlos Fernandez 2025-11-20 00:59:59 -08:00 committed by GitHub
parent 72944698c5
commit 844c683c7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -53,6 +53,7 @@
collection=document.itemTypes.loot
isGlassy=true
canCreate=true
showActions=true
}}
</div>
</section>

View file

@ -139,7 +139,7 @@ Parameters:
{{> "systems/daggerheart/templates/sheets/global/partials/item-resource.hbs"}}
{{/if}}
{{!-- Actions Buttons --}}
{{#if (and showActions (eq item.type 'feature'))}}
{{#if (and showActions item.system.actions.size)}}
<div class="item-buttons">
{{#each item.system.actions as | action |}}
<div class="item-button">