Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 1032 | Rev 1034 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1032 Rev 1033
Línea 456... Línea 456...
456
        renderData(sections);
456
        renderData(sections);
457
    }
457
    }
458
    /**
458
    /**
459
     * Edit item behavior
459
     * Edit item behavior
460
     */
460
     */
461
    const editSection = (id, title, type, text) => {
461
    const editSection = (id, title, text, type) => {
462
        sections.map((item) => {
462
        sections.map((item) => {
463
            if (item.id_section == id) {
463
            if (item.id_section == id) {
464
                item.title = title;
464
                item.title = title;
465
                item.type = type;
465
                item.type = type;
466
                item.text = text;
466
                item.text = text;