From bd864dbd34f3afcf19bae402b115e2e25efcfea7 Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 19 Sep 2026 11:36:00 -0500 Subject: [PATCH] Actualizar frontend/src/components/ConfigModal.jsx --- frontend/src/components/ConfigModal.jsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/ConfigModal.jsx b/frontend/src/components/ConfigModal.jsx index 6033862..be4c256 100644 --- a/frontend/src/components/ConfigModal.jsx +++ b/frontend/src/components/ConfigModal.jsx @@ -1,5 +1,6 @@ import { useState, useEffect, useRef } from "react"; import { api } from "../lib/api"; +import Plantillas from "../pages/Plantillas"; // Desplegable con búsqueda (estilo Claude). function ProgramaSelect({ valor, opciones = [], onSelect }) { @@ -870,9 +871,16 @@ export default function ConfigModal({ onClose }) { + {/* Contenido */}
@@ -882,13 +890,18 @@ export default function ConfigModal({ onClose }) { {seccion === "leyenda" ? "Leyenda de Anuncios" : seccion === "programas" ? "Programas" : seccion === "leyendas" ? "Leyenda" + : seccion === "plantillas" ? "Plantillas" : "Sedes de Anuncios"}
- {seccion === "leyendas" ? ( + {seccion === "plantillas" ? ( +
+ +
+ ) : seccion === "leyendas" ? ( ) : seccion === "sedes" ? (