From 645e6367e981abefebfeb11902b173639dae19c7 Mon Sep 17 00:00:00 2001 From: gabdevele Date: Mon, 15 Jun 2026 14:30:06 +0200 Subject: [PATCH] feat: update admin panel labels and adjust API endpoints for areas --- app/components/Header.vue | 2 +- app/composables/useAdmin.ts | 4 +- app/pages/open-data.vue | 133 ++++++++++++++++++++++++++++++++---- 3 files changed, 124 insertions(+), 15 deletions(-) diff --git a/app/components/Header.vue b/app/components/Header.vue index 151d3a7..660dc75 100644 --- a/app/components/Header.vue +++ b/app/components/Header.vue @@ -18,7 +18,7 @@ const navLinks = [ ] const { isAuthenticated, user, logout } = useAuth() -const panelLabel = computed(() => user.value?.role?.toUpperCase() === 'ADMIN' ? 'Pannello admin' : 'Dashboard') +const panelLabel = computed(() => user.value?.role?.toUpperCase() === 'ADMIN' ? 'Pannello' : 'Dashboard')