Issue 80 Chatmessage fix (#81)

* fix chatmessage to render the template in constructor. Update namespaces.

* update all chat messages to render templates
This commit is contained in:
IrkTheImp 2025-05-30 04:13:08 -05:00 committed by GitHub
parent c94051744a
commit 7c792f409f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 230 additions and 171 deletions

View file

@ -5,9 +5,12 @@ export default class SelectDialog extends Dialog {
this.data = {
title: data.title,
buttons: data.buttons,
content: renderTemplate('systems/daggerheart/templates/dialog/item-select.hbs', {
items: data.choices
})
content: foundry.applications.handlebars.renderTemplate(
'systems/daggerheart/templates/dialog/item-select.hbs',
{
items: data.choices
}
)
};
this.actor = data.actor;