Corrected vairable (#1289)

This commit is contained in:
WBHarry 2025-11-15 16:54:20 +01:00 committed by GitHub
parent 369559f935
commit 91b1b92d19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ export default class ForeignDocumentUUIDArrayField extends foundry.data.fields.A
const v = super.initialize(value, model, options);
return () => {
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;
};
}
}

View file

@ -62,4 +62,4 @@
</div>
</fieldset>
{{/unless}}
</div>
</section>