Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1047 Rev 1048
Línea 440... Línea 440...
440
    }
440
    }
441
    /**
441
    /**
442
     * Add Section to array
442
     * Add Section to array
443
     */
443
     */
444
    const addSection = (title, text, type) => {
444
    const addSection = (title, text, type) => {
-
 
445
        console.log('add');
445
        sections.push({
446
        sections.push({
446
            'id_section': new Date().getTime(),
447
            'id_section': new Date().getTime(),
447
            'title': title,
448
            'title': title,
448
            'type': type,
449
            'type': type,
449
            'text': text,
450
            'text': text,