We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b10341 commit b5dd3d0Copy full SHA for b5dd3d0
pages/projects/index.vue
@@ -95,6 +95,11 @@ const projectsPending = computed(() =>
95
projectsPostsLatestQuery.status.value === 'pending'
96
|| projectsPostsCreatedQuery.status.value === 'pending')
97
98
+watch(projectsPending, (pending) => {
99
+ if (!pending && projectsLatestData.value.length === 0)
100
+ navigateTo('/', { replace: true, redirectCode: 404 })
101
+}, { immediate: true })
102
+
103
useSeoMetaHelper({
104
title: 'Blog',
105
description: 'Helltraitor blog',
0 commit comments