message: pull vendorGroups up to outer if statement
diff: @@ -177,16 +177,16 @@ function Vendors({
  const selectedStore = stores.find((s) => s.id === selectedStoreId)!;
  const currencyLookups = vendorsResponse?.currencyLookups.data?.itemQuantities;
  - if (vendorGroups && filterToUnacquired) {
  + if (vendorGroups) {
  + if (filterToUnacquired) {
  vendorGroups = filterVendorGroupsToUnacquired(vendorGroups, ownedItemHashes);
  }
  - if (vendorGroups && searchQuery.length) {
  + if (searchQuery.length) {
  vendorGroups = filterVendorGroupsToSearch(vendorGroups, searchQuery, filterItems);
  }
  -
  if (
  currentXur().start === undefined &&
  - vendorGroups?.some((v) => v.def.hash === VENDOR_GROUPS.LIMITED_TIME)
  + vendorGroups.some((v) => v.def.hash === VENDOR_GROUPS.LIMITED_TIME)
  ) {
  const vgIndex = vendorGroups
  .map(function (v) {
  @@ -205,6 +205,7 @@ function Vendors({
  vendorGroups.splice(vgIndex, 1); // Remove "Limited Time" if Xur was only Vendor
  }
  }
  + }
  const fullOwnedItemHashes = enhanceOwnedItemsWithPlugSets(ownedItemHashes, defs, profileResponse);
  