mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
Fixed Notes enriched path and adversary-settings form id
This commit is contained in:
parent
f48459114a
commit
8ea596544b
2 changed files with 2 additions and 6 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
import DHActionConfig from '../../config/Action.mjs';
|
import DHActionConfig from '../../config/Action.mjs';
|
||||||
import DaggerheartSheet from '../daggerheart-sheet.mjs';
|
|
||||||
import DHBaseItemSheet from '../api/base-item.mjs';
|
import DHBaseItemSheet from '../api/base-item.mjs';
|
||||||
import { actionsTypes } from '../../../data/_module.mjs';
|
import { actionsTypes } from '../../../data/_module.mjs';
|
||||||
|
|
||||||
|
|
@ -18,7 +17,6 @@ export default class DHAdversarySettings extends HandlebarsApplicationMixin(Appl
|
||||||
|
|
||||||
static DEFAULT_OPTIONS = {
|
static DEFAULT_OPTIONS = {
|
||||||
tag: 'form',
|
tag: 'form',
|
||||||
id: 'daggerheart-action',
|
|
||||||
classes: ['daggerheart', 'dh-style', 'dialog', 'adversary-settings'],
|
classes: ['daggerheart', 'dh-style', 'dialog', 'adversary-settings'],
|
||||||
window: {
|
window: {
|
||||||
icon: 'fa-solid fa-wrench',
|
icon: 'fa-solid fa-wrench',
|
||||||
|
|
@ -104,9 +102,7 @@ export default class DHAdversarySettings extends HandlebarsApplicationMixin(Appl
|
||||||
context.tabs = this._getTabs(this.constructor.TABS);
|
context.tabs = this._getTabs(this.constructor.TABS);
|
||||||
context.systemFields = this.actor.system.schema.fields;
|
context.systemFields = this.actor.system.schema.fields;
|
||||||
context.systemFields.attack.fields = this.actor.system.attack.schema.fields;
|
context.systemFields.attack.fields = this.actor.system.attack.schema.fields;
|
||||||
// context.getEffectDetails = this.getEffectDetails.bind(this);
|
|
||||||
// context.isNPC = true;
|
|
||||||
// console.log(context);
|
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,6 @@
|
||||||
>
|
>
|
||||||
<fieldset class="fit-height">
|
<fieldset class="fit-height">
|
||||||
<legend>{{localize tabs.notes.label}}</legend>
|
<legend>{{localize tabs.notes.label}}</legend>
|
||||||
{{formInput systemFields.notes value=document.system.notes enriched=source.document.notes localize=true toggled=true}}
|
{{formInput systemFields.notes value=document.system.notes enriched=document.system.notes localize=true toggled=true}}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</section>
|
</section>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue