diff --git a/src/pages/talents.vue b/src/pages/talents.vue index 57f7b98..9f04583 100644 --- a/src/pages/talents.vue +++ b/src/pages/talents.vue @@ -29,7 +29,7 @@ function isCategory(category: string) { const { data: getCategories, -} = await useFetch>('/api/categories', { method: 'GET' }) +} = await useFetch>('/api/categories', { method: 'GET', query: { type: 'TALENT' } }) getCategories.value!.forEach((category: any) => categories.value.push({ label: category.name, slug: category.slug })) const appConfig = useAppConfig()