From 6da69b57c7292bb7bedaa8b6a1d67618e2167998 Mon Sep 17 00:00:00 2001 From: corsacca Date: Thu, 21 May 2026 10:51:17 +0100 Subject: [PATCH] Make CMS rows clickable --- app/pages/admin/pages/categories/index.vue | 6 ++++-- app/pages/admin/pages/index.vue | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/pages/admin/pages/categories/index.vue b/app/pages/admin/pages/categories/index.vue index 1f051a34..89340d6b 100644 --- a/app/pages/admin/pages/categories/index.vue +++ b/app/pages/admin/pages/categories/index.vue @@ -19,6 +19,7 @@ interface CategoryRow { } const toast = useToast() +const router = useRouter() const { data, pending, error, refresh } = await useFetch<{ rows: CategoryRow[] }>( '/api/admin/categories', @@ -102,7 +103,8 @@ async function confirmDelete() { {{ englishName(row) }} {{ row.slug }} @@ -124,7 +126,7 @@ async function confirmDelete() { {{ row.page_count }} - +
(() => { {{ row.title_en }} @@ -239,7 +240,7 @@ const filteredRows = computed(() => { {{ formatDate(row.updated) }} - +