Added confirm dialogs to delete

This commit is contained in:
WBHarry 2025-07-08 17:00:49 +02:00
parent 5aa9ba661a
commit b3c9ee87b0
7 changed files with 100 additions and 9 deletions

View file

@ -42,9 +42,12 @@ export default class DHBaseActorSettings extends DHApplicationMixin(DocumentShee
/**@inheritdoc */
async _prepareContext(options) {
const context = await super._prepareContext(options);
context.systemFields.attack.fields = this.actor.system.attack.schema.fields;
context.isNPC = this.actor.isNPC;
if (context.systemFields.attack) {
context.systemFields.attack.fields = this.actor.system.attack.schema.fields;
}
return context;
}
}