fix: update 'CLOSED' status label from 'Chiusa' to 'Conclusa' in multiple components

This commit is contained in:
gabdevele
2026-06-18 12:16:50 +02:00 Unverified
parent 8e1a92f3d1
commit b7e648bde8
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ const badgeConfig = computed(() => {
IN_PROGRESS: { color: 'primary', text: 'In Lavorazione', icon: 'it-settings' }, IN_PROGRESS: { color: 'primary', text: 'In Lavorazione', icon: 'it-settings' },
RESOLVED: { color: 'success', text: 'Risolta', icon: 'it-check-circle' }, RESOLVED: { color: 'success', text: 'Risolta', icon: 'it-check-circle' },
REJECTED: { color: 'danger', text: 'Rifiutata', icon: 'it-close-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' } return config[props.status] || { color: 'secondary', text: props.status, icon: 'it-info-circle' }
+2 -2
View File
@@ -40,7 +40,7 @@ const statusMeta: Record<string, string> = {
IN_PROGRESS: 'In lavorazione', IN_PROGRESS: 'In lavorazione',
RESOLVED: 'Risolta', RESOLVED: 'Risolta',
REJECTED: 'Respinta', REJECTED: 'Respinta',
CLOSED: 'Chiusa' CLOSED: 'Conclusa'
} }
const statusTransitions: Record<string, string[]> = { const statusTransitions: Record<string, string[]> = {
@@ -60,7 +60,7 @@ const availableStatuses: { value: ReportStatus, label: string }[] = [
{ value: 'IN_PROGRESS', label: 'In Lavorazione' }, { value: 'IN_PROGRESS', label: 'In Lavorazione' },
{ value: 'RESOLVED', label: 'Risolta' }, { value: 'RESOLVED', label: 'Risolta' },
{ value: 'REJECTED', label: 'Rifiutata' }, { value: 'REJECTED', label: 'Rifiutata' },
{ value: 'CLOSED', label: 'Chiusa' } { value: 'CLOSED', label: 'Conclusa' }
] ]
const selectableStatuses = computed(() => { const selectableStatuses = computed(() => {
+1 -1
View File
@@ -76,7 +76,7 @@ const statusMeta: Record<string, { label: string; tone: string }> = {
IN_PROGRESS: { label: 'In lavorazione', tone: 'primary' }, IN_PROGRESS: { label: 'In lavorazione', tone: 'primary' },
RESOLVED: { label: 'Risolta', tone: 'success' }, RESOLVED: { label: 'Risolta', tone: 'success' },
REJECTED: { label: 'Respinta', tone: 'danger' }, REJECTED: { label: 'Respinta', tone: 'danger' },
CLOSED: { label: 'Chiusa', tone: 'secondary' }, CLOSED: { label: 'Conclusa', tone: 'secondary' },
} }
const formatDate = (dateString: string): string => { const formatDate = (dateString: string): string => {