mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-09-25 22:25:58 +00:00
fix crash
This commit is contained in:
@@ -56,8 +56,9 @@ export default defineComponent({
|
||||
|
||||
const r = ITEM_DROP.get(detailsId.value)!
|
||||
return {
|
||||
related: r.query.map(id => findByDetailsId(id)),
|
||||
items: r.items.map(id => findByDetailsId(id))
|
||||
// TODO: show at least icon when price is not available on poe.ninja yet
|
||||
related: r.query.map(id => findByDetailsId(id)).filter(_ => Boolean(_)),
|
||||
items: r.items.map(id => findByDetailsId(id)).filter(_ => Boolean(_))
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user