Skip to content

Commit

Permalink
Fix traits data not being omitted from certain item types (#14459)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosFdez committed Apr 19, 2024
1 parent d17dfc4 commit 0caf646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/item/base/sheet/sheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class ItemSheetPF2e<TItem extends ItemPF2e> extends ItemSheet<TItem, ItemSheetOp

return {
itemType: null,
showTraits: this.validTraits !== null,
showTraits: !R.isEmpty(this.validTraits),
sidebarTitle: game.i18n.format("PF2E.Item.SidebarSummary", {
type: game.i18n.localize(`TYPES.Item.${this.item.type}`),
}),
Expand Down

0 comments on commit 0caf646

Please sign in to comment.