mirror of https://github.com/Kylart/KawAnime.git
Fix #36
News will now load only after the releases are updated, this should reduce 429 occurrence
This commit is contained in:
parent
acf568068c
commit
b10b898f17
|
@ -39,9 +39,10 @@ export default {
|
||||||
commit('setConnected', true)
|
commit('setConnected', true)
|
||||||
|
|
||||||
dispatch('logs/init').catch(err => { void err })
|
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('seasons/init').catch(err => { void err })
|
||||||
dispatch('news/init').catch(err => { void err })
|
|
||||||
|
|
||||||
dispatch('mal/init').catch(err => { void err })
|
dispatch('mal/init').catch(err => { void err })
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue