Add status handling for 'Missed' and 'Rescheduled' activities in ActivityItem
This commit is contained in:
@@ -111,6 +111,18 @@ const ActivityItem = ({ activity, members, onViewNote }) => {
|
|||||||
text: 'Rejected',
|
text: 'Rejected',
|
||||||
icon: <ThumbDown />,
|
icon: <ThumbDown />,
|
||||||
}
|
}
|
||||||
|
} else if (activity.status === 5) {
|
||||||
|
return {
|
||||||
|
color: 'danger',
|
||||||
|
text: 'Missed',
|
||||||
|
icon: <EventNote />,
|
||||||
|
}
|
||||||
|
} else if (activity.status === 6) {
|
||||||
|
return {
|
||||||
|
color: 'neutral',
|
||||||
|
text: 'Rescheduled',
|
||||||
|
icon: <Refresh />,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fallback for completed status
|
// Fallback for completed status
|
||||||
|
|||||||
Reference in New Issue
Block a user