fix build error

This commit is contained in:
Larsluph 2023-11-04 23:46:02 +01:00 committed by Daan Wijns
parent d91070b4a2
commit 46ce72783a

View file

@ -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
}