@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.
@@ -28897,7 +28897,7 @@ var CraftBook = function CraftBook(_ref) {
28897
28897
  });
28898
28898
  var filteredCraftableItems = items == null ? void 0 : items.filter(function (item) {
28899
28899
  var matchesSearch = item.name.toLowerCase().includes(searchTerm.toLowerCase());
28900
- var matchesCategory = selectedType === 'Suggested' || selectedType === 'Pinned' && pinnedItems.includes(item.key) || item.subType === selectedType;
28900
+ var matchesCategory = selectedType === 'Suggested' || (selectedType === 'Pinned' ? pinnedItems.includes(item.key) : item.subType === selectedType);
28901
28901
  return matchesSearch && matchesCategory;
28902
28902
  });
28903
28903
  var sortedItems = [].concat(filteredCraftableItems || []).sort(function (a, b) {