|
@@ -56,7 +56,7 @@ const CategoryTree = ({ elements, saveCategory }) => {
|
|
sourceCat.parentCat = params.dropTarget;
|
|
sourceCat.parentCat = params.dropTarget;
|
|
|
|
|
|
sourceCat.parent = targetCat ?? null;
|
|
sourceCat.parent = targetCat ?? null;
|
|
- //saveCategory(sourceCat);
|
|
|
|
|
|
+ saveCategory(sourceCat);
|
|
setTreeData(newTree);
|
|
setTreeData(newTree);
|
|
}
|
|
}
|
|
}
|
|
}
|