refactor(ticket): remove ticket status from list events and use assignment status for closure
This commit is contained in:
@@ -49,7 +49,7 @@ function getTicketAction(ticket: TicketDetail) {
|
||||
);
|
||||
}
|
||||
|
||||
if (ticket.status === 'closed') {
|
||||
if (ticket.assignment_status === 'approved' || ticket.assignment_status === 'rejected') {
|
||||
return <ClosedTicketAction ticket={ticket} />;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user