updating to have statuses for rooms

This commit is contained in:
Arjun Patel
2022-01-17 15:46:28 -08:00
parent 9beb53fa8f
commit 5655df9391
6 changed files with 52 additions and 8 deletions
+4 -1
View File
@@ -208,7 +208,10 @@ export default function RoomCard(props: IRoomCardProps) {
{/* room status and link(s) */}
<span className="flex flex-col items-end justify-between h-full">
<RoomTypeTag roomType={props.room.type} />
<RoomTypeTag
roomType={props.room.type}
roomStatus={props.room.status}
/>
<span
className={`${
isUserInRoom ? "text-gray-400" : "text-gray-200"