[Fix][UI Next][V1.0.0-Alpha] User Manage Queue display error (#9060)
parent
cfe2473e57
commit
bae9f16b6c
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue