Make group sorting be case insensitive
This commit is contained in:
parent
f2420a6848
commit
76d8f3675c
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ export class TAFActor extends Actor {
|
|||
types[item.type] ??= [];
|
||||
types[item.type].push(item);
|
||||
} else {
|
||||
const group = item.system.group ?? `Items`;
|
||||
const group = item.system.group?.toLowerCase() ?? `items`;
|
||||
types[group] ??= [];
|
||||
types[group].push(item);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue