mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-24 18:36:14 +03:00
fix: delayed torrent display on page opening (#1022)
This commit is contained in:
parent
d679ad4c3e
commit
ee6a73eacc
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ export default {
|
||||||
if (authenticated) {
|
if (authenticated) {
|
||||||
this.$store.commit('LOGIN', true)
|
this.$store.commit('LOGIN', true)
|
||||||
this.$store.dispatch('INIT_INTERVALS')
|
this.$store.dispatch('INIT_INTERVALS')
|
||||||
|
this.$store.commit('updateMainData')
|
||||||
this.$store.dispatch('FETCH_SETTINGS')
|
this.$store.dispatch('FETCH_SETTINGS')
|
||||||
if (this.onLoginPage) this.redirectOnSuccess()
|
if (this.onLoginPage) this.redirectOnSuccess()
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue