Fixed error with missing partial block (#1733)

This commit is contained in:
WBHarry 2026-03-15 22:46:56 +01:00 committed by GitHub
parent 8024cac565
commit f9b7fdca52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 4 deletions

View file

@ -251,10 +251,10 @@ export class ItemBrowser extends HandlebarsApplicationMixin(ApplicationV2) {
/* If any noticeable slowdown occurs, consider replacing with enriching description on clicking to expand descriptions */ /* If any noticeable slowdown occurs, consider replacing with enriching description on clicking to expand descriptions */
for (const item of this.items) { for (const item of this.items) {
if (["weapon", "armor"].includes(item.type)) { if (['weapon', 'armor'].includes(item.type)) {
item.system.enrichedTags = await foundry.applications.handlebars.renderTemplate( item.system.enrichedTags = await foundry.applications.handlebars.renderTemplate(
'systems/daggerheart/templates/sheets/global/partials/item-tags.hbs', 'systems/daggerheart/templates/ui/itemBrowser/item-tags.hbs',
item.system, { item: item.system }
); );
} }
item.system.enrichedDescription = item.system.enrichedDescription =

View file

@ -2,7 +2,7 @@
"id": "daggerheart", "id": "daggerheart",
"title": "Daggerheart", "title": "Daggerheart",
"description": "An unofficial implementation of the Daggerheart system", "description": "An unofficial implementation of the Daggerheart system",
"version": "1.9.2", "version": "1.9.3",
"compatibility": { "compatibility": {
"minimum": "13.346", "minimum": "13.346",
"verified": "13.351", "verified": "13.351",

View file

@ -0,0 +1,2 @@
{{#> "systems/daggerheart/templates/sheets/global/partials/item-tags.hbs" item }}
{{/"systems/daggerheart/templates/sheets/global/partials/item-tags.hbs"}}