mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 04:47:27 +00:00
fix: new mythic items
This commit is contained in:
parent
8fac5cd58b
commit
f156bddea5
3 changed files with 3 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ export default {
|
|||
|
||||
methods: {
|
||||
isMythic(item) {
|
||||
return item && item.image.includes('t4')
|
||||
return item && item.isMythic
|
||||
},
|
||||
itemLink(item) {
|
||||
if (!item) {
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@ export default abstract class MatchSerializer {
|
|||
name: item.name,
|
||||
description: item.description,
|
||||
price: item.priceTotal,
|
||||
isMythic: item.description.includes('rarityMythic'),
|
||||
})
|
||||
}
|
||||
return items
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ export interface SerializedMatchItem {
|
|||
image: string
|
||||
name: string
|
||||
price: number
|
||||
isMythic: boolean
|
||||
}
|
||||
|
||||
export interface SerializedMatchPerks {
|
||||
|
|
|
|||
Loading…
Reference in a new issue