fix: more matches button works again

This commit is contained in:
Valentin Kaelin 2020-01-02 10:52:52 +01:00
parent 0a8b1fa622
commit abfd9990bd

View file

@ -39,7 +39,7 @@ export const mutations = {
},
MATCHES_FOUND(state, { newMatches, stats }) {
state.overview.matchesLoading = false
state.overview.matches = [...state.infos.matches, ...newMatches]
state.overview.matches = [...state.overview.matches, ...newMatches]
state.overview.matchIndex += newMatches.length
state.overview.stats = stats
state.champions.championsLoaded = false