Lil bit of cleanup
This commit is contained in:
parent
7284b8fbd2
commit
4373890fdc
2 changed files with 1 additions and 5 deletions
|
|
@ -57,7 +57,7 @@ export class WeaponData extends foundry.abstract.TypeDataModel {
|
||||||
// #endregion
|
// #endregion
|
||||||
|
|
||||||
// #region Sheet Data
|
// #region Sheet Data
|
||||||
getFormFields(ctx) {
|
getFormFields(_ctx) {
|
||||||
const fields = [
|
const fields = [
|
||||||
{
|
{
|
||||||
id: `traits`,
|
id: `traits`,
|
||||||
|
|
|
||||||
|
|
@ -16,10 +16,6 @@ const inputTypes = {
|
||||||
|
|
||||||
const typesToSanitize = new Set([ `string`, `number` ]);
|
const typesToSanitize = new Set([ `string`, `number` ]);
|
||||||
|
|
||||||
function displayOnly(input) {
|
|
||||||
return `<div data-input-type="${input.type}">${input.label}</div>`;
|
|
||||||
};
|
|
||||||
|
|
||||||
export function formFields(inputs, opts) {
|
export function formFields(inputs, opts) {
|
||||||
const fields = [];
|
const fields = [];
|
||||||
for (const input of inputs) {
|
for (const input of inputs) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue