mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2025-10-30 14:17:55 +00:00
commit stash
This commit is contained in:
@@ -927,7 +927,7 @@ function transformToTradeMods(
|
||||
)[0]; // Apply to all if null
|
||||
|
||||
return {
|
||||
text: mod,
|
||||
text: parseAffixStrings(mod),
|
||||
name: matchedModDetail?.name || "Unknown",
|
||||
tier: matchedModDetail?.tier || "Unknown",
|
||||
level: matchedModDetail?.level || 0,
|
||||
@@ -1053,7 +1053,7 @@ export async function requestResults(
|
||||
|
||||
const resultMods = reduceResultItem(result.item);
|
||||
const detailedDisplayItem: PricingResult["detailedDisplayItem"] =
|
||||
linkTradeModsToItem(resultMods, item.statsByType);
|
||||
linkTradeModsToItem(resultMods, item.statsByType, displayItem);
|
||||
|
||||
return {
|
||||
id: result.id,
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { ParsedItem } from "@/parser";
|
||||
import { PricingResult, TradeMod } from "./pathofexile-trade";
|
||||
import { DisplayItem, PricingResult, TradeMod } from "./pathofexile-trade";
|
||||
|
||||
export function linkTradeModsToItem(
|
||||
tradeMods: TradeMod[],
|
||||
itemStats: ParsedItem["statsByType"],
|
||||
displayItem: DisplayItem,
|
||||
): PricingResult["detailedDisplayItem"] {
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user