Browse Source

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

3.0.0/version-upgrade
Devosend 3 years ago committed by GitHub
parent
commit
bae9f16b6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui-next/src/views/security/user-manage/components/use-user-detail.ts

2
dolphinscheduler-ui-next/src/views/security/user-manage/components/use-user-detail.ts

@ -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…
Cancel
Save