diff --git a/module/applications/sheets/rollTables/rollTable.mjs b/module/applications/sheets/rollTables/rollTable.mjs index c0bb05ef..f0fc7df6 100644 --- a/module/applications/sheets/rollTables/rollTable.mjs +++ b/module/applications/sheets/rollTables/rollTable.mjs @@ -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 diff --git a/templates/sheets/rollTable/summary.hbs b/templates/sheets/rollTable/summary.hbs index 1ecbf79b..5d90266a 100644 --- a/templates/sheets/rollTable/summary.hbs +++ b/templates/sheets/rollTable/summary.hbs @@ -1,5 +1,4 @@
-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}}