Ultra-Premium Redesign of Auth System and critical Map fixes
This commit is contained in:
@ -16,7 +16,11 @@ const authStore = useAuthStore()
|
||||
const favoritesStore = useFavoritesStore()
|
||||
|
||||
const isSplashScreen = computed(() => route.name === 'splash')
|
||||
const isAuthScreen = computed(() => route.name === 'auth' || route.path === '/login')
|
||||
const isAuthScreen = computed(() => {
|
||||
const name = route.name?.toString().toLowerCase() || ''
|
||||
const path = route.path.toLowerCase()
|
||||
return name.includes('auth') || path.includes('/login') || path.includes('/register')
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
themeStore.applyTheme()
|
||||
|
||||
Reference in New Issue
Block a user