Add the required actions from the component parts into the combined sheet

This commit is contained in:
Eldritch-Oliver 2025-10-08 00:06:19 -06:00
parent 6e77bdd949
commit 4eecd15acf

View file

@ -1,7 +1,6 @@
import { CraftCardV1 } from "./CraftCardV1.mjs"; import { CraftCardV1 } from "./CraftCardV1.mjs";
import { filePath } from "../../consts.mjs"; import { filePath } from "../../consts.mjs";
import { GenericAppMixin } from "../GenericApp.mjs"; import { GenericAppMixin } from "../GenericApp.mjs";
import { Logger } from "../../utils/Logger.mjs";
import { SkillsCardV1 } from "./SkillsCardV1.mjs"; import { SkillsCardV1 } from "./SkillsCardV1.mjs";
import { StatsCardV1 } from "./StatsCardV1.mjs"; import { StatsCardV1 } from "./StatsCardV1.mjs";
@ -23,7 +22,9 @@ export class CombinedHeroSheet extends GenericAppMixin(HandlebarsApplicationMixi
window: { window: {
resizable: false, resizable: false,
}, },
actions: {}, actions: {
...StatsCardV1.DEFAULT_OPTIONS.actions,
},
form: { form: {
submitOnChange: true, submitOnChange: true,
closeOnSubmit: false, closeOnSubmit: false,