@@ -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) => {