mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-14 12:10:18 +03:00
fix build error
This commit is contained in:
parent
d91070b4a2
commit
46ce72783a
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ const navbarStore = useNavbarStore()
|
|||
const dndZoneRef = ref<HTMLDivElement>()
|
||||
|
||||
function onDragEnter() {
|
||||
if (['login', 'settings'].includes(route.name?.toString()) || !authStore.isAuthenticated) return
|
||||
if (['login', 'settings'].includes(route.name as string) || !authStore.isAuthenticated) return
|
||||
isOverDropZone.value = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue