pushing in for the day

This commit is contained in:
Nikhil Nagarajan 2026-01-14 18:13:29 -05:00
parent 84458d8534
commit 8f9f0617cd
2 changed files with 9 additions and 8 deletions

View file

@ -1,14 +1,16 @@
//Setting RollTable //Setting RollTable
export default class DhRollTableSheet extends foundry.applications.sheets.RollTableSheet { export default class DhRollTableSheet extends foundry.applications.sheets.RollTableSheet {
static get PARTS() { static buildParts() {
const parts = super.PARTS; const { footer, ...parts } = super.PARTS;
return { return {
summary: { ...parts,
template: 'templates/sheets/rollTable/summary.hbs', summary: { template: 'systems/daggerheart/templates/sheets/rollTable/summary.hbs' },
}, footer
...parts }
};5
} }
static PARTS = DhRollTableSheet.buildParts();
static actions = { static actions = {
addAltFormula: DhRollTableSheet.#onAddAltFormula, addAltFormula: DhRollTableSheet.#onAddAltFormula,
removeAltForuma: DhRollTableSheet.#onRemoveAltFormula removeAltForuma: DhRollTableSheet.#onRemoveAltFormula

View file

@ -1,5 +1,4 @@
<section class="tab{{#if tab.active}} active{{/if}}" data-group="{{tab.group}}" data-tab="{{tab.id}}"> <section class="tab{{#if tab.active}} active{{/if}}" data-group="{{tab.group}}" data-tab="{{tab.id}}">
NEW TABLE TEST
{{formGroup fields.description value=source.description rootId=rootId}} {{formGroup fields.description value=source.description rootId=rootId}}
{{formGroup fields.formula value=source.formula placeholder=formulaPlaceholder rootId=rootId}} {{formGroup fields.formula value=source.formula placeholder=formulaPlaceholder rootId=rootId}}
{{formGroup fields.replacement value=source.replacement rootId=rootId}} {{formGroup fields.replacement value=source.replacement rootId=rootId}}