mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: add edit element button
This commit is contained in:
parent
6f2cc5bdc6
commit
c9de9b4ff6
6 changed files with 34 additions and 29 deletions
|
|
@ -35,7 +35,7 @@ function Chapter(props: any) {
|
|||
{(provided) => (
|
||||
<ElementsList {...provided.droppableProps} ref={provided.innerRef}>
|
||||
{props.info.list.elements.map((element: any, index: any) => (
|
||||
<Element key={element.id} element={element} index={index}></Element>
|
||||
<Element orgslug={props.orgslug} courseid={props.courseid} key={element.id} element={element} index={index}></Element>
|
||||
))}
|
||||
{provided.placeholder}
|
||||
</ElementsList>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue