fix: Convert phase.id to Number for phaseChantierService.resume call

This commit is contained in:
dahoud
2025-10-15 20:42:19 +00:00
parent 6269c0d096
commit 9ba1e71041

View File

@@ -231,7 +231,7 @@ const PhasesEnRetardPage: Page = () => {
const relancerPhase = async (phase: PhaseChantier) => {
try {
if (phase.id) {
await phaseChantierService.resume(phase.id);
await phaseChantierService.resume(Number(phase.id));
await loadPhasesEnRetard();
toast.current?.show({
severity: 'success',