diff --git a/proyek-frontend/app/components/template-page/CategorySelection.vue b/proyek-frontend/app/components/template-page/CategorySelection.vue index 6bf9cec..f0f856e 100644 --- a/proyek-frontend/app/components/template-page/CategorySelection.vue +++ b/proyek-frontend/app/components/template-page/CategorySelection.vue @@ -31,13 +31,13 @@
@@ -80,6 +80,9 @@ const fetchCategories = async () => { } } +onMounted(fetchCategories) +onActivated(fetchCategories) + // Panggil saat component mounted fetchCategories()