mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-14 20:20:04 +03:00
Update App.vue
This commit is contained in:
parent
b9e7372c8e
commit
39793b1bfd
1 changed files with 0 additions and 6 deletions
|
@ -48,12 +48,6 @@ const blockContextMenu = () => {
|
|||
})
|
||||
}
|
||||
|
||||
const redirectOnSuccess = () => {
|
||||
const redirectUrl = route.query.redirect as string | undefined
|
||||
if (redirectUrl) router.push(redirectUrl)
|
||||
else if (onLoginPage.value) router.push({ name: 'dashboard' })
|
||||
}
|
||||
|
||||
onBeforeMount(() => {
|
||||
if (vuetorrentStore.matchSystemTheme) {
|
||||
vuetorrentStore.updateSystemTheme()
|
||||
|
|
Loading…
Add table
Reference in a new issue