diff --git a/src/app/(dashboard)/consultation-reservations/page.jsx b/src/app/(dashboard)/consultation-reservations/page.jsx index e80beab825db0fe9302cf0d2372f7dae0ecc86e6..e56a7da7f8aaecbb90a304b0cc629a1f0f467076 100644 --- a/src/app/(dashboard)/consultation-reservations/page.jsx +++ b/src/app/(dashboard)/consultation-reservations/page.jsx @@ -361,7 +361,7 @@ const Reservation = () => { {(selectedZone.floorId && !isLoadingData) &&
+ className='h-100 overflow-hidden w-full mb-7 flex flex-col items-center pt-2 px-5 pb-7 rounded-xl border border-neutral-300 relative'> {!(floors.find((element) => element.id == selectedZone.floorId).image) ?
@@ -375,7 +375,7 @@ const Reservation = () => {
:
- element.id == selectedZone.floorId).image} className='w-full [aspect-ratio:2]'> + element.id == selectedZone.floorId).image} className='w-full [aspect-ratio:2.5]'>
} {(!isLoadingData) &&
diff --git a/src/app/(dashboard)/reservation/page.jsx b/src/app/(dashboard)/reservation/page.jsx index e75a1b401f35a3080e51f11db15a7e1e7d990ff4..422d12cc34d7b8367529011a69bc92c49d7e0c0e 100644 --- a/src/app/(dashboard)/reservation/page.jsx +++ b/src/app/(dashboard)/reservation/page.jsx @@ -201,7 +201,23 @@ const Reservation = () => { ))} }
- {(selectedZone.floorId && !isLoadingData) &&
+ {(selectedZone.floorId && !isLoadingData) &&
+ { !(floors.find((element) => element.id == selectedZone.floorId).image) ?
+
+
+ + Aucune Illustration fournie pour cet étage +
+
+
+ : +
+ element.id == selectedZone.floorId).image} className='w-full [aspect-ratio:2.5]'> +
+ }
{floors.filter((element) => concernedFloors.includes(element.id)).map((floor) => { return floor.zones?.map((zone, index) => {