From b7e648bde8c273f6708f37369e8ee7f3b6fbc239 Mon Sep 17 00:00:00 2001 From: gabdevele Date: Thu, 18 Jun 2026 12:16:50 +0200 Subject: [PATCH] fix: update 'CLOSED' status label from 'Chiusa' to 'Conclusa' in multiple components --- app/components/StatusBadge.vue | 2 +- app/pages/operator/reports/[id].vue | 4 ++-- app/pages/reports/[id].vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/StatusBadge.vue b/app/components/StatusBadge.vue index 3192b23..b8375bb 100644 --- a/app/components/StatusBadge.vue +++ b/app/components/StatusBadge.vue @@ -15,7 +15,7 @@ const badgeConfig = computed(() => { IN_PROGRESS: { color: 'primary', text: 'In Lavorazione', icon: 'it-settings' }, RESOLVED: { color: 'success', text: 'Risolta', icon: 'it-check-circle' }, REJECTED: { color: 'danger', text: 'Rifiutata', icon: 'it-close-circle' }, - CLOSED: { color: 'secondary', text: 'Chiusa', icon: 'it-locked' } + CLOSED: { color: 'secondary', text: 'Conclusa', icon: 'it-locked' } } return config[props.status] || { color: 'secondary', text: props.status, icon: 'it-info-circle' } diff --git a/app/pages/operator/reports/[id].vue b/app/pages/operator/reports/[id].vue index 281f016..0293c0a 100644 --- a/app/pages/operator/reports/[id].vue +++ b/app/pages/operator/reports/[id].vue @@ -40,7 +40,7 @@ const statusMeta: Record = { IN_PROGRESS: 'In lavorazione', RESOLVED: 'Risolta', REJECTED: 'Respinta', - CLOSED: 'Chiusa' + CLOSED: 'Conclusa' } const statusTransitions: Record = { @@ -60,7 +60,7 @@ const availableStatuses: { value: ReportStatus, label: string }[] = [ { value: 'IN_PROGRESS', label: 'In Lavorazione' }, { value: 'RESOLVED', label: 'Risolta' }, { value: 'REJECTED', label: 'Rifiutata' }, - { value: 'CLOSED', label: 'Chiusa' } + { value: 'CLOSED', label: 'Conclusa' } ] const selectableStatuses = computed(() => { diff --git a/app/pages/reports/[id].vue b/app/pages/reports/[id].vue index 3e0c298..ca9c6ba 100644 --- a/app/pages/reports/[id].vue +++ b/app/pages/reports/[id].vue @@ -76,7 +76,7 @@ const statusMeta: Record = { IN_PROGRESS: { label: 'In lavorazione', tone: 'primary' }, RESOLVED: { label: 'Risolta', tone: 'success' }, REJECTED: { label: 'Respinta', tone: 'danger' }, - CLOSED: { label: 'Chiusa', tone: 'secondary' }, + CLOSED: { label: 'Conclusa', tone: 'secondary' }, } const formatDate = (dateString: string): string => {