Fix bug causing sheets to not render when the actor has no attribute items
This commit is contained in:
parent
e9d92d3db1
commit
5a4368b5e0
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ export class PlayerSheet extends
|
||||||
get hasAttributesTab() {
|
get hasAttributesTab() {
|
||||||
return this.actor.itemTypes
|
return this.actor.itemTypes
|
||||||
.attribute
|
.attribute
|
||||||
.filter(attr => !attr.system.aboveTheFold)
|
?.filter(attr => !attr.system.aboveTheFold)
|
||||||
.length > 0;
|
.length > 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue