Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 12856 Rev 12990
Línea 78... Línea 78...
78
				position = section.position
78
				position = section.position
79
			}
79
			}
80
			position++
80
			position++
81
		})
81
		})
Línea 82... Línea 82...
82
 
82
 
83
		const newSection = {
83
		setContent(prev => [...prev, {
84
			slug_section: `section${uuid}`,
84
			slug_section: `section${uuid}`,
85
			name: name,
85
			name: name,
86
			text: text,
86
			text: text,
87
			position: position,
87
			position: position,
88
			questions: [],
88
			questions: [],
89
			status: 0
89
			status: 0
90
		}
-
 
91
 
-
 
92
		setContent(prev => [...prev, newSection])
90
		}])
Línea 93... Línea 91...
93
	}
91
	}
94
 
92
 
95
	const editSection = ({ name, text, slug }) => {
93
	const editSection = ({ name, text, slug }) => {