mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 13:11:08 +01:00
.
This commit is contained in:
parent
71de639afd
commit
9e7b01e472
3 changed files with 3 additions and 3 deletions
|
|
@ -294,7 +294,7 @@ export class ItemBrowser extends HandlebarsApplicationMixin(ApplicationV2) {
|
|||
const property = foundry.utils.getProperty(item, field.key);
|
||||
if (Array.isArray(property)) property.join(', ');
|
||||
if (typeof field.format !== 'function') return property ?? '-';
|
||||
return field.format(property);
|
||||
return game.i18n.localize(field.format(property));
|
||||
}
|
||||
|
||||
formatChoices(data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue