use global base path

This commit is contained in:
Mykhailo Budiakov
2025-07-28 06:46:23 +03:00
parent 3ceabe83be
commit b0d637003b
+2 -2
View File
@@ -1,5 +1,5 @@
/* eslint-disable max-classes-per-file */
import DG from "./config.js";
import DG, { BASE_TEMPLATE_PATH } from "./config.js";
const { ApplicationV2, HandlebarsApplicationMixin } = foundry.applications.api;
@@ -70,7 +70,7 @@ const SettingForm = class extends HandlebarsApplicationMixin(ApplicationV2) {
/** @override */
static PARTS = {
footer: { template: `systems/${DG.ID}/templates/save.hbs` },
footer: { template: `${BASE_TEMPLATE_PATH}/save.hbs` },
};
/** @override */