From af24b5064e97d87543806b5f5b3ce4b760735af3 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Sat, 5 Jul 2025 21:53:03 +0200 Subject: [PATCH] Fixed adversary/environment features display --- templates/sheets/actors/adversary/features.hbs | 4 +--- templates/sheets/actors/environment/features.hbs | 2 +- templates/sheets/global/partials/inventory-fieldset-items.hbs | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/templates/sheets/actors/adversary/features.hbs b/templates/sheets/actors/adversary/features.hbs index a41da05d..1a8d918e 100644 --- a/templates/sheets/actors/adversary/features.hbs +++ b/templates/sheets/actors/adversary/features.hbs @@ -4,8 +4,6 @@ data-group='{{tabs.features.group}}' >
- {{#if document.system.features}} - {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize tabs.features.label) type='feature'}} - {{/if}} + {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize tabs.features.label) type='feature' values=document.system.features hideControls=true}}
\ No newline at end of file diff --git a/templates/sheets/actors/environment/features.hbs b/templates/sheets/actors/environment/features.hbs index fb0d0e69..6697e42c 100644 --- a/templates/sheets/actors/environment/features.hbs +++ b/templates/sheets/actors/environment/features.hbs @@ -4,6 +4,6 @@ data-group='{{tabs.features.group}}' >
- {{> '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 }}
\ No newline at end of file diff --git a/templates/sheets/global/partials/inventory-fieldset-items.hbs b/templates/sheets/global/partials/inventory-fieldset-items.hbs index 6a44e4cd..92d3a8a6 100644 --- a/templates/sheets/global/partials/inventory-fieldset-items.hbs +++ b/templates/sheets/global/partials/inventory-fieldset-items.hbs @@ -17,7 +17,7 @@ {{/each}} {{else}} {{#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 adversaries as |adversary|}}