fix: Convert phase.id to Number for phaseChantierService.resume call
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user