mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
Corrected vairable (#1289)
This commit is contained in:
parent
369559f935
commit
91b1b92d19
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ export default class ForeignDocumentUUIDArrayField extends foundry.data.fields.A
|
||||||
const v = super.initialize(value, model, options);
|
const v = super.initialize(value, model, options);
|
||||||
return () => {
|
return () => {
|
||||||
const data = v.map(entry => (typeof entry === 'function' ? entry() : entry));
|
const data = v.map(entry => (typeof entry === 'function' ? entry() : entry));
|
||||||
return this.options.prune ? data.filter((d) => !!d) : d;
|
return this.options.prune ? data.filter(d => !!d) : data;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -62,4 +62,4 @@
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
</div>
|
</section>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue