Cambiar rango rápido por defecto a 'hoy' en informe de ingresos
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 49s
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 49s
Se modifica el preset por defecto de 'cosecha-25-26' a 'hoy' para que los usuarios vean los datos del día actual al acceder a la página.
This commit is contained in:
@@ -712,7 +712,7 @@ type PresetValue =
|
||||
| 'cosecha-20-21' | 'cosecha-21-22' | 'cosecha-22-23'
|
||||
| 'cosecha-23-24' | 'cosecha-24-25' | 'cosecha-25-26'
|
||||
|
||||
const selectedPreset = ref<PresetValue>('cosecha-25-26')
|
||||
const selectedPreset = ref<PresetValue>('hoy')
|
||||
const fechaDesde = ref<string | null>(null)
|
||||
const fechaHasta = ref<string | null>(null)
|
||||
|
||||
@@ -1010,8 +1010,8 @@ async function copiarSerieTemporalJSON() {
|
||||
|
||||
// Inicializar preset por defecto sin cargar datos
|
||||
onMounted(async () => {
|
||||
// Default preset: cosecha 25-26
|
||||
selectedPreset.value = 'cosecha-25-26'
|
||||
// Default preset: hoy
|
||||
selectedPreset.value = 'hoy'
|
||||
|
||||
// Cargar opciones de filtros disponibles
|
||||
await loadOpcionesFiltros()
|
||||
|
||||
Reference in New Issue
Block a user