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
export default class DhRollTableSheet extends foundry.applications.sheets.RollTableSheet {
static get PARTS() {
const parts = super.PARTS;
static buildParts() {
const { footer, ...parts } = super.PARTS;
return {
summary: {
template: 'templates/sheets/rollTable/summary.hbs',
},
...parts
};5
...parts,
summary: { template: 'systems/daggerheart/templates/sheets/rollTable/summary.hbs' },
footer
}
}
static PARTS = DhRollTableSheet.buildParts();
static actions = {
addAltFormula: DhRollTableSheet.#onAddAltFormula,
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}}">
NEW TABLE TEST
{{formGroup fields.description value=source.description rootId=rootId}}
{{formGroup fields.formula value=source.formula placeholder=formulaPlaceholder rootId=rootId}}
{{formGroup fields.replacement value=source.replacement rootId=rootId}}