fix: ContentAuth types

This commit is contained in:
kolaente 2025-11-22 14:35:35 +01:00
parent a89855a9d1
commit 4a2f961a77
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import {computed, defineAsyncComponent, h, shallowRef, type VNode, watchEffect} from 'vue'
import {useRoute, useRouter} from 'vue-router'
import {useRoute, useRouter, type RouteLocationNormalizedGeneric} from 'vue-router'
import {useBaseStore} from '@/stores/base'
import {useProjectStore} from '@/stores/projects'
@ -12,7 +12,7 @@ export function useRouteWithModal() {
const routeWithModal = computed(() => {
return backdropView.value
? router.resolve(backdropView.value)
? router.resolve(backdropView.value) as RouteLocationNormalizedGeneric
: route
})