message: Fix plug tooltips for conditional stats.
diff: @@ -4,7 +4,7 @@ import { t } from 'app/i18next-t';
  import { statAllowList } from 'app/inventory/store/stats';
  import { thumbsUpIcon } from 'app/shell/icons';
  import AppIcon from 'app/shell/icons/AppIcon';
  -import { emptySpecialtySocketHashes } from 'app/utils/item-utils';
  +import { emptySpecialtySocketHashes, isPlugStatActive } from 'app/utils/item-utils';
  import { InventoryWishListRoll } from 'app/wishlists/wishlists';
  import _ from 'lodash';
  import React from 'react';
  @@ -15,6 +15,7 @@ import './ItemSockets.scss';
  // TODO: Connect this to redux
  export default function PlugTooltip({
  + item,
  plug,
  defs,
  wishlistRoll,
  @@ -62,9 +63,19 @@ export default function PlugTooltip({
  {defs && Boolean(plug?.plugDef?.investmentStats?.length) && (
  <div className="plug-stats">
  {plug.stats &&
  - _.sortBy(Object.keys(plug.stats), (h) =>
  - statAllowList.indexOf(parseInt(h, 10))
  - ).map((statHash) => (
  + _.sortBy(Object.keys(plug.stats), (h) => statAllowList.indexOf(parseInt(h, 10)))
  + .filter((statHash) =>
  + isPlugStatActive(
  + item,
  + plug.plugDef.hash,
  + Number(statHash),
  + Boolean(
  + plug.plugDef.investmentStats.find((s) => s.statTypeHash === Number(statHash))
  + ?.isConditionallyActive
  + )
  + )
  + )
  + .map((statHash) => (
  <StatValue
  key={statHash + '_'}
  statHash={parseInt(statHash, 10)}
  