Skip to content

Commit 1d278e0

Browse files
committed
Removed hardcoded template path
1 parent 422051e commit 1d278e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tweaks/ExtraDamageTypes/DamageTypeListForm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { MODULE_ID } from '../constants.js';
1+
import { MODULE_ID, TEMPLATE_PATH } from '../constants.js';
22
import { convertLabelIdToDisplay } from './util.js';
33

44
export class DamageTypeListForm extends FormApplication {
@@ -16,7 +16,7 @@ export class DamageTypeListForm extends FormApplication {
1616
return mergeObject(super.defaultOptions, {
1717
classes: ['form'],
1818
popOut: true,
19-
template: `modules/${MODULE_ID}/templates/damage_type_list.hbs`,
19+
template: `${TEMPLATE_PATH}/damage_type_list.hbs`,
2020
id: DamageTypeListForm.FORM_ID,
2121
title: 'Damage Type List'
2222
});

0 commit comments

Comments
 (0)