fix(AddTorrent): Error while accessing preferences (#1216)

This commit is contained in:
Rémi Marseault 2023-10-28 23:51:22 +02:00 committed by GitHub
parent 1792df965b
commit c76007241d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,6 @@ onBeforeMount(() => {
vuetorrentStore.setLanguage(vuetorrentStore.language)
checkAuthentication()
blockContextMenu()
navbarStore.initAddTorrentDialogForm()
})
watch(
@ -82,6 +81,7 @@ watch(
await logStore.fetchLogs()
await maindataStore.fetchCategories()
await maindataStore.fetchTags()
navbarStore.initAddTorrentDialogForm()
} else {
appStore.clearIntervals()
}