fix: Update PrimeReact to v10.8.3 and fix all compilation errors
This commit is contained in:
@@ -385,7 +385,7 @@ const DashboardPlanningContent = () => {
|
||||
const ressourcesBodyTemplate = (rowData: PlanningEvent) => (
|
||||
<div className="flex flex-wrap gap-1">
|
||||
{rowData.ressources.slice(0, 2).map((ressource, index) => (
|
||||
<Tag key={index} value={ressource} severity="secondary" className="text-xs" />
|
||||
<Tag key={index} value={ressource} severity={"secondary" as any} className="text-xs" />
|
||||
))}
|
||||
{rowData.ressources.length > 2 && (
|
||||
<Tag value={`+${rowData.ressources.length - 2}`} severity="info" className="text-xs" />
|
||||
@@ -530,8 +530,7 @@ const DashboardPlanningContent = () => {
|
||||
onChange={(e) => setDateRange(e.value as Date[])}
|
||||
selectionMode="range"
|
||||
readOnlyInput
|
||||
hideOnRangeSelection
|
||||
className="w-full md:w-14rem"
|
||||
className="w-full md:w-14rem"
|
||||
placeholder="Sélectionner une période"
|
||||
/>
|
||||
</div>
|
||||
@@ -710,3 +709,4 @@ const DashboardPlanning = () => {
|
||||
};
|
||||
|
||||
export default DashboardPlanning;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user