Fixed so Adversary features can be sent to chat. Fixed so ability-card.hbs works again

This commit is contained in:
WBHarry 2025-08-02 18:35:02 +02:00
parent 73a19fc0bb
commit 2c58ab3fb0
7 changed files with 28 additions and 26 deletions

View file

@ -2,12 +2,12 @@
data-group='{{tabs.features.group}}'>
<div class="feature-section">
{{> 'daggerheart.inventory-items'
title=tabs.features.label
type='feature'
collection=document.system.features
hideControls=true
canCreate=true
showActions=true
title=tabs.features.label
type='feature'
collection=document.system.features
hideContextMenu=true
canCreate=true
showActions=true
}}
</div>
</section>

View file

@ -55,6 +55,7 @@ Parameters:
item=item
type=../type
hideControls=../hideControls
hideContextMenu=../hideContextMenu
isActor=../isActor
categoryAdversary=../categoryAdversary
hideTooltip=../hideTooltip

View file

@ -123,9 +123,11 @@ Parameters:
<i class="fa-regular fa-message"></i>
</a>
{{/if}}
{{#unless hideContextMenu}}
<a data-action="triggerContextMenu" data-tooltip="DAGGERHEART.UI.Tooltip.moreOptions">
<i class="fa-solid fa-ellipsis-vertical"></i>
</a>
{{/unless}}
{{/if}}
</div>
{{/unless}}