News will now load only after the releases are updated, this should reduce 429 occurrence
This commit is contained in:
Kylart 2018-04-18 10:14:48 +02:00
parent acf568068c
commit b10b898f17
1 changed files with 3 additions and 2 deletions

View File

@ -39,9 +39,10 @@ export default {
commit('setConnected', true)
dispatch('logs/init').catch(err => { void err })
dispatch('releases/init').catch(err => { void err })
dispatch('releases/init')
.then(() => { dispatch('news/init').catch(err => { void err }) })
.catch(err => { void err })
dispatch('seasons/init').catch(err => { void err })
dispatch('news/init').catch(err => { void err })
dispatch('mal/init').catch(err => { void err })
} else {