Fixed so that the new feature button in the character sheet can take you to the compendium browser

This commit is contained in:
WBHarry 2026-03-09 20:23:41 +01:00
parent d518993ec9
commit 7842bb00b6
3 changed files with 16 additions and 11 deletions

View file

@ -4,19 +4,21 @@
{{#each document.system.sheetLists as |category|}}
{{#if (eq category.type 'feature' )}}
{{> 'daggerheart.inventory-items'
title=category.title
type='feature'
collection=category.values
canCreate=true
showActions=true
title=category.title
type='feature'
actorType='character'
collection=category.values
canCreate=true
showActions=true
}}
{{else if category.values}}
{{> 'daggerheart.inventory-items'
title=category.title
type='feature'
collection=category.values
canCreate=false
showActions=true
title=category.title
type='feature'
actorType='character'
collection=category.values
canCreate=false
showActions=true
}}
{{/if}}