mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-09 12:41:20 +01:00
PR fixes
This commit is contained in:
parent
72dfc54705
commit
266a2806ab
13 changed files with 102 additions and 52 deletions
|
|
@ -103,7 +103,6 @@ export default class DHAdversarySettings extends HandlebarsApplicationMixin(Appl
|
|||
context.systemFields = this.actor.system.schema.fields;
|
||||
context.systemFields.attack.fields = this.actor.system.attack.schema.fields;
|
||||
context.isNPC = true;
|
||||
console.log(context);
|
||||
|
||||
return context;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ export default class BeastformSheet extends DHBaseItemSheet {
|
|||
static editFeature(event) {
|
||||
const target = event.target.closest('[data-action="editFeature"]');
|
||||
const feature = this.document.system.features[target.dataset.index];
|
||||
feature.sheet.render(true);
|
||||
feature.sheet.render({ force: true });
|
||||
}
|
||||
|
||||
static async removeFeature(_, target) {
|
||||
|
|
@ -52,7 +52,6 @@ export default class BeastformSheet extends DHBaseItemSheet {
|
|||
await this.document.update({
|
||||
'system.features': current.filter((_, index) => index !== Number(target.dataset.index))
|
||||
});
|
||||
this.render();
|
||||
}
|
||||
|
||||
async _onDrop(event) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue