|
@@ -431,8 +431,9 @@ export class ViewList extends React.PureComponent<
|
|
|
// const api = this.state.catalogueFromView ? api.updateCatalogue : api.createCatalogue
|
|
|
if (catalogueFromView) {
|
|
|
await request(api.updateCatalogue + `/${catalogueFromView.id}`, {
|
|
|
- method: 'PUT'
|
|
|
- })
|
|
|
+ method: 'PUT',
|
|
|
+ data: { ...catalogue, parentId, projectId }
|
|
|
+ })
|
|
|
} else {
|
|
|
await request(api.createCatalogue, {
|
|
|
method: 'post',
|