Update App.vue

This commit is contained in:
Rémi Marseault 2023-11-05 01:07:18 +01:00 committed by Daan Wijns
parent b9e7372c8e
commit 39793b1bfd

View file

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