Update deps, ticket edit updates

This commit is contained in:
Darren Clarke 2024-08-06 08:36:03 +02:00
parent aa453954ed
commit 2d892779bf
19 changed files with 1753 additions and 7776 deletions

View file

@ -9,7 +9,7 @@ export const getAgentsAction = async () => {
const agents = users?.filter((user: any) => user.role_ids.includes(2)) ?? [];
const formattedAgents = agents
.map((agent: any) => ({
label: agent.login,
label: `${agent.firstname} ${agent.lastname}`,
value: `gid://zammad/User/${agent.id}`,
}))
.sort((a: any, b: any) => a.label.localeCompare(b.label));