Fixed adversary/environment features display

This commit is contained in:
WBHarry 2025-07-05 21:53:03 +02:00
parent b7c2d40d7f
commit af24b5064e
3 changed files with 3 additions and 5 deletions

View file

@ -4,8 +4,6 @@
data-group='{{tabs.features.group}}' data-group='{{tabs.features.group}}'
> >
<div class="feature-section"> <div class="feature-section">
{{#if document.system.features}} {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize tabs.features.label) type='feature' values=document.system.features hideControls=true}}
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize tabs.features.label) type='feature'}}
{{/if}}
</div> </div>
</section> </section>

View file

@ -4,6 +4,6 @@
data-group='{{tabs.features.group}}' data-group='{{tabs.features.group}}'
> >
<div class="feature-section"> <div class="feature-section">
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize tabs.features.label) type='feature'}} {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize tabs.features.label) type='feature' values=document.system.features hideControls=true }}
</div> </div>
</section> </section>

View file

@ -17,7 +17,7 @@
{{/each}} {{/each}}
{{else}} {{else}}
{{#each values}} {{#each values}}
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=this type=../type }} {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=this type=../type hideControls=../hideControls }}
{{/each}} {{/each}}
{{#each adversaries as |adversary|}} {{#each adversaries as |adversary|}}