Merge pull request #107 from donetick/fix-activity-car
Add status handling for 'Missed' and 'Rescheduled' activities in Acti…
This commit is contained in:
@@ -111,6 +111,18 @@ const ActivityItem = ({ activity, members, onViewNote }) => {
|
||||
text: 'Rejected',
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user