mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-09-28 15:45:58 +00:00
text.replace 2
This commit is contained in:
@@ -1551,8 +1551,9 @@ function parseFetchResult(result: FetchResult): PricingResult["displayItem"] {
|
||||
grantSkill: buildGrantSkillBlock(result.item.grantedSkills),
|
||||
...parseMods(result),
|
||||
veiledMods: result.item.veiledMods?.map((vm) => {
|
||||
const text = typeof vm === "string" ? vm : vm.description;
|
||||
return {
|
||||
text: (vm as string).startsWith("Prefix")
|
||||
text: text.startsWith("Prefix")
|
||||
? "Unrevealed Prefix"
|
||||
: "Unrevealed Suffix",
|
||||
color: TradeNumberColors.Desecrated,
|
||||
|
||||
Reference in New Issue
Block a user