mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-24 18:36:14 +03:00
Update App.vue
This commit is contained in:
parent
39793b1bfd
commit
3c8c0e7d54
1 changed files with 0 additions and 3 deletions
|
@ -14,7 +14,6 @@ import { useVueTorrentStore } from '@/stores/vuetorrent'
|
||||||
import { computed, onBeforeMount, watch } from 'vue'
|
import { computed, onBeforeMount, watch } from 'vue'
|
||||||
import { useRoute, useRouter } from 'vue-router'
|
import { useRoute, useRouter } from 'vue-router'
|
||||||
|
|
||||||
const router = useRouter()
|
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
|
|
||||||
const authStore = useAuthStore()
|
const authStore = useAuthStore()
|
||||||
|
@ -26,8 +25,6 @@ const navbarStore = useNavbarStore()
|
||||||
const preferencesStore = usePreferenceStore()
|
const preferencesStore = usePreferenceStore()
|
||||||
const vuetorrentStore = useVueTorrentStore()
|
const vuetorrentStore = useVueTorrentStore()
|
||||||
|
|
||||||
const onLoginPage = computed(() => route.name === 'login')
|
|
||||||
|
|
||||||
const checkAuthentication = async () => {
|
const checkAuthentication = async () => {
|
||||||
await authStore.updateAuthStatus()
|
await authStore.updateAuthStatus()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue