mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-09-20 19:55:52 +00:00
closes #888
This commit is contained in:
@@ -21,7 +21,10 @@ export function createExactStatFilters (
|
||||
statsByType: StatCalculated[],
|
||||
opts: { searchStatRange: number }
|
||||
): StatFilter[] {
|
||||
if (item.mapBlighted) return []
|
||||
if (
|
||||
item.mapBlighted ||
|
||||
item.category === ItemCategory.Invitation
|
||||
) return []
|
||||
if (
|
||||
item.isUnidentified &&
|
||||
item.rarity === ItemRarity.Unique &&
|
||||
@@ -40,7 +43,6 @@ export function createExactStatFilters (
|
||||
if (item.rarity === ItemRarity.Magic && (
|
||||
item.category !== ItemCategory.ClusterJewel &&
|
||||
item.category !== ItemCategory.Map &&
|
||||
item.category !== ItemCategory.Invitation &&
|
||||
item.category !== ItemCategory.HeistContract &&
|
||||
item.category !== ItemCategory.HeistBlueprint &&
|
||||
item.category !== ItemCategory.Sentinel
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<td colspan="100" class="text-transparent">***</td>
|
||||
</tr>
|
||||
<tr v-else :key="result.id">
|
||||
<td class="px-2 whitespace-nowrap">{{ result.priceAmount }} {{ result.priceCurrency }} <span v-if="result.listedTimes > 2" class="rounded px-1 text-gray-800 bg-gray-400 -mr-2"><span class="font-sans">×</span> {{ result.listedTimes }}</span><i v-else-if="!result.hasNote" class="fas fa-question" /></td>
|
||||
<td class="px-2 whitespace-nowrap"><span :class="{ 'line-through': result.priceCurrency === 'exalted' }">{{ result.priceAmount }} {{ result.priceCurrency }}</span> <span v-if="result.listedTimes > 2" class="rounded px-1 text-gray-800 bg-gray-400 -mr-2"><span class="font-sans">×</span> {{ result.listedTimes }}</span><i v-else-if="!result.hasNote" class="fas fa-question" /></td>
|
||||
<td v-if="item.stackSize" class="px-2 text-right">{{ result.stackSize }}</td>
|
||||
<td v-if="filters.itemLevel" class="px-2 whitespace-nowrap text-right">{{ result.itemLevel }}</td>
|
||||
<td v-if="item.category === 'Gem'" class="pl-2 whitespace-nowrap">{{ result.level }}</td>
|
||||
|
||||
@@ -30,7 +30,6 @@ export function apiToSatisfySearch (item: ParsedItem, stats: StatFilter[], filte
|
||||
if (filters.stackSize) {
|
||||
if (
|
||||
item.category === ItemCategory.DivinationCard ||
|
||||
item.category === ItemCategory.Invitation ||
|
||||
item.category === ItemCategory.Map
|
||||
) {
|
||||
return filters.stackSize.disabled ? 'trade' : 'bulk'
|
||||
|
||||
Reference in New Issue
Block a user