preparando el deploy
Some checks failed
deploy-analiticaNucleo / deploy (push) Failing after 2s

This commit is contained in:
2025-10-05 12:13:32 -06:00
parent 053501a16d
commit 2b252d798b
15 changed files with 170 additions and 34 deletions

View File

@@ -260,8 +260,9 @@ function getPresetLabel(): string {
'cosecha-25-26': 'Cosecha 25-26'
}
if (props.selectedPreset && props.selectedPreset !== 'custom' && presetLabels[props.selectedPreset]) {
return presetLabels[props.selectedPreset]
const label = props.selectedPreset && props.selectedPreset !== 'custom' ? presetLabels[props.selectedPreset] : undefined
if (label) {
return label
}
// Si es personalizado, mostrar las fechas