+
-
+
{expanded ? (
) : (
@@ -567,11 +608,14 @@ function AppointmentCard({
{appt.notes}
)}
- {isUpcoming(appt) && !readOnly && (
+ {!isWaitlist && isUpcoming(appt) && !readOnly && (
)}
- {isUpcoming(appt) &&
}
- {appt.status !== 'completed' &&
+ {!isWaitlist && isUpcoming(appt) && (
+
+ )}
+ {!isWaitlist &&
+ appt.status !== 'completed' &&
appt.status !== 'cancelled' &&
!readOnly && (