fix: Update PrimeReact to v10.8.3 and fix all compilation errors
This commit is contained in:
@@ -75,8 +75,8 @@ const DevisWorkflowPage = () => {
|
||||
setLoading(true);
|
||||
|
||||
// Charger le devis
|
||||
const devisResponse = await devisService.getById(devisId);
|
||||
setDevis(devisResponse.data);
|
||||
const devisData = await devisService.getById(devisId);
|
||||
setDevis(devisData);
|
||||
|
||||
// TODO: Charger les données de workflow depuis l'API
|
||||
// const workflowResponse = await devisService.getWorkflow(devisId);
|
||||
@@ -346,9 +346,9 @@ const DevisWorkflowPage = () => {
|
||||
<h5 className="text-blue-900 mb-2">{workflowSteps[activeStep].nom}</h5>
|
||||
<p className="text-blue-800 mb-2">{workflowSteps[activeStep].description}</p>
|
||||
</div>
|
||||
<Tag
|
||||
<Tag
|
||||
value={workflowSteps[activeStep].statut}
|
||||
severity={getStepStatus(workflowSteps[activeStep], activeStep)}
|
||||
severity={getStepStatus(workflowSteps[activeStep], activeStep) as any}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -444,9 +444,9 @@ const DevisWorkflowPage = () => {
|
||||
field="statut"
|
||||
header="Statut"
|
||||
body={(rowData, options) => (
|
||||
<Tag
|
||||
<Tag
|
||||
value={rowData.statut}
|
||||
severity={getStepStatus(rowData, options.rowIndex)}
|
||||
severity={getStepStatus(rowData, options.rowIndex) as any}
|
||||
/>
|
||||
)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user