Skip to content
Snippets Groups Projects

amélioration des liens entre back et front suite à un changement back

Merged Fatima Ezzahra Majidi requested to merge master into main
4 files
+ 22
17
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -34,10 +34,11 @@ function StageForm() {
@@ -34,10 +34,11 @@ function StageForm() {
}
}
const newStage = {
const newStage = {
title,
name: title, // ✅ Change from "" to title
description,
description,
enterprise: { id: parseInt(enterpriseId, 10) }, // Send enterprise as an object
enterprise: { id: parseInt(enterpriseId, 10) }, // Keep this as it is
};
};
 
console.log("📌 Sending stage data:", newStage);
console.log("📌 Sending stage data:", newStage);
Loading