mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 21:07:27 +00:00
fix: sort seasons in select options
This commit is contained in:
parent
7c44c498a9
commit
090326c208
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ export const mutations = {
|
||||||
state.basic.account = infos.account
|
state.basic.account = infos.account
|
||||||
state.basic.matchList = infos.matchList
|
state.basic.matchList = infos.matchList
|
||||||
state.basic.ranked = infos.ranked
|
state.basic.ranked = infos.ranked
|
||||||
state.basic.seasons = infos.seasons
|
state.basic.seasons = infos.seasons.sort((a, b) => b - a)
|
||||||
state.basic.status = 'found'
|
state.basic.status = 'found'
|
||||||
state.live.match = infos.current
|
state.live.match = infos.current
|
||||||
state.live.playing = infos.playing
|
state.live.playing = infos.playing
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue