message: Filter out items that do not match ALL perks
diff: @@ -227,25 +227,21 @@ export class LoadoutBuilder extends React.Component<Props & UIViewInjectedProps,
  lockedMap[bucket].find((burnItem) => burnItem.item.index === item.dmg)
  );
  }
  - if (lockedItem.type === 'perk') {
  - // filter out items that do not have a locked perk
  - // OR by column. AND by row
  - filteredItems[bucket] = filteredItems[bucket].filter(
  - (item) =>
  + });
  + // filter out items that do not match ALL perks
  + filteredItems[bucket] = filteredItems[bucket].filter((item) => {
  + return lockedMap[bucket].filter((item) => item.type === 'perk').every((perk) => {
  + return Boolean(
  item.sockets &&
  item.sockets.sockets.find((slot) =>
  Boolean(
  - slot.plugOptions.find((perk) =>
  - Boolean(
  - lockedMap[bucket].find(
  - (lockedPerk) => lockedPerk.item.index === perk.plugItem.index
  - )
  - )
  + slot.plugOptions.find((plug) =>
  + Boolean(perk.item.index === plug.plugItem.index)
  )
  )
  )
  );
  - }
  + });
  });
  }
  });
  