Skip to content

Commit

Permalink
fix: risolto bug quando si clonava un corso di dottorato
Browse files Browse the repository at this point in the history
  • Loading branch information
aziis98 committed Oct 23, 2023
1 parent 28ea867 commit 4457918
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/PhdCourseEditPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ export default function PhdCourseEditPage({ Model }) {
useEffect(() => {
if (clone_id) {
if (cloneStatus === "success") {
delete cloneData._id
setModifiedObj(cloneData)
}
} else {
Expand Down

0 comments on commit 4457918

Please sign in to comment.