From e0e599b27773d15fb63962b3d464d573b7dcf6c6 Mon Sep 17 00:00:00 2001 From: Dapoolp Date: Sat, 26 Jul 2025 15:41:17 +0200 Subject: [PATCH] Add Action Type Select item name in header --- module/data/fields/actionField.mjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module/data/fields/actionField.mjs b/module/data/fields/actionField.mjs index dd2b4dea..00197e53 100644 --- a/module/data/fields/actionField.mjs +++ b/module/data/fields/actionField.mjs @@ -175,7 +175,10 @@ export function ActionMixin(Base) { classes: ['daggerheart', 'dh-style'], content: await foundry.applications.handlebars.renderTemplate( 'systems/daggerheart/templates/actionTypes/actionType.hbs', - { types: CONFIG.DH.ACTIONS.actionTypes } + { + types: CONFIG.DH.ACTIONS.actionTypes, + itemName: parent.parent?.name + } ), ok: { label: game.i18n.format('DOCUMENT.Create', {