fix: delayed torrent display on page opening (#1022)

This commit is contained in:
Jagadam Dinesh Reddy 2023-08-08 13:52:39 +05:30 committed by GitHub
parent d679ad4c3e
commit ee6a73eacc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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