[Fix][UI Next][V1.0.0-Alpha] User Manage Queue display error (#9060)

This commit is contained in:
Devosend 2022-03-21 18:56:49 +08:00 committed by GitHub
parent cfe2473e57
commit bae9f16b6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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