Item creation: fix the cancel button.
It wasn't working because the callback was not connected, but the onDelete callback was connected instead (which shouldn't have been).master
parent
71f7df252a
commit
99ccfaf441
|
@ -115,7 +115,7 @@ const CollectionRoutes = withRouter(
|
|||
<ComponentEdit
|
||||
collections={props.collections}
|
||||
onSave={props.onItemSave}
|
||||
onDelete={props.onItemDelete}
|
||||
onCancel={props.onItemCancel}
|
||||
/>
|
||||
</Container>
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue