fix: Update PrimeReact to v10.8.3 and fix all compilation errors

This commit is contained in:
dahoud
2025-10-13 03:01:36 +00:00
parent 2a2e54c0e3
commit 30cad6220b
85 changed files with 928 additions and 2020 deletions

View File

@@ -138,9 +138,9 @@ const ChantiersRetardPage = () => {
let updatedChantier = { ...selectedChantier };
if (actionType === 'extend' && newEndDate) {
updatedChantier.dateFinPrevue = newEndDate;
updatedChantier.dateFinPrevue = newEndDate.toISOString().split('T')[0];
} else if (actionType === 'status') {
updatedChantier.statut = 'SUSPENDU';
updatedChantier.statut = 'SUSPENDU' as any;
}
await chantierService.update(selectedChantier.id, updatedChantier);
@@ -392,6 +392,7 @@ STATISTIQUES:
value={chantiers}
selection={selectedChantiers}
onSelectionChange={(e) => setSelectedChantiers(e.value)}
selectionMode="multiple"
dataKey="id"
paginator
rows={10}
@@ -471,4 +472,6 @@ STATISTIQUES:
);
};
export default ChantiersRetardPage;
export default ChantiersRetardPage;