|
|
@ -113,7 +113,7 @@ export function useUserDetail() { |
|
|
|
const result = await queryList() |
|
|
|
const result = await queryList() |
|
|
|
state.queues = result.map((queue: { queueName: string; id: string }) => ({ |
|
|
|
state.queues = result.map((queue: { queueName: string; id: string }) => ({ |
|
|
|
label: queue.queueName, |
|
|
|
label: queue.queueName, |
|
|
|
value: queue.id |
|
|
|
value: queue.queueName |
|
|
|
})) |
|
|
|
})) |
|
|
|
if (state.queues.length) { |
|
|
|
if (state.queues.length) { |
|
|
|
initialValues.queue = state.queues[0].value |
|
|
|
initialValues.queue = state.queues[0].value |
|
|
|