Added agent as a possible idsplay on the list for ticket

This commit is contained in:
Joao Ramos
2024-02-08 19:49:53 +00:00
parent 71f07af2eb
commit ce7032c8a7

View File

@@ -137,7 +137,7 @@ export default function TicketDisplay({ user, ticket, onClose }: Props) {
options={[
{ value: "me", label: "Assign to me" },
...users
.filter((x) => ["admin", "developer"].includes(x.type))
.filter((x) => ["admin", "developer", "agent"].includes(x.type))
.map((u) => ({
value: u.id,
label: `${u.name} - ${u.email}`,