From faae07f08c7504677eb82f33661ac1595aaa9a53 Mon Sep 17 00:00:00 2001 From: ariefabbauftech-ai Date: Mon, 15 Sep 2025 16:06:03 +0700 Subject: [PATCH] [Update Foto Kategori] --- .../app/components/template-page/CategorySelection.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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()