@rpg-engine/long-bow 0.7.95 → 0.7.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28890,7 +28890,7 @@ var CraftBook = function CraftBook(_ref) {
28890
28890
  });
28891
28891
  var filteredCraftableItems = items == null ? void 0 : items.filter(function (item) {
28892
28892
  var matchesSearch = item.name.toLowerCase().includes(searchTerm.toLowerCase());
28893
- var matchesCategory = selectedType === 'Suggested' || selectedType === 'Pinned' && pinnedItems.includes(item.key) || item.subType === selectedType;
28893
+ var matchesCategory = selectedType === 'Suggested' || (selectedType === 'Pinned' ? pinnedItems.includes(item.key) : item.subType === selectedType);
28894
28894
  return matchesSearch && matchesCategory;
28895
28895
  });
28896
28896
  var sortedItems = [].concat(filteredCraftableItems || []).sort(function (a, b) {