mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 04:44:16 +02:00
Fixed the class name display in the subclass view
This commit is contained in:
parent
e28d90fe71
commit
09a6b1480f
3 changed files with 10 additions and 7 deletions
|
|
@ -357,7 +357,7 @@ export class ItemBrowser extends HandlebarsApplicationMixin(ApplicationV2) {
|
|||
|
||||
async _createFieldFilter() {
|
||||
const filters = ItemBrowser.getFolderConfig(this.selectedMenu.data, 'filters');
|
||||
for(const f of filters) {
|
||||
for (const f of filters) {
|
||||
if (typeof f.field === 'string') f.field = foundry.utils.getProperty(game, f.field);
|
||||
else if (typeof f.choices === 'function') {
|
||||
f.choices = await f.choices(this.items);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue