This is an automated email from the ASF dual-hosted git repository.
liudongkai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new c16424027e [Fix][UI] Fix bug where username is empty in file manage
(#10070)
c16424027e is described below
commit c16424027e369c8cde2da966f08ded06ba0744df
Author: Devosend <[email protected]>
AuthorDate: Tue May 17 15:17:46 2022 +0800
[Fix][UI] Fix bug where username is empty in file manage (#10070)
---
dolphinscheduler-ui/src/service/modules/resources/types.ts | 1 +
dolphinscheduler-ui/src/views/resource/file/use-file.ts | 1 +
2 files changed, 2 insertions(+)
diff --git a/dolphinscheduler-ui/src/service/modules/resources/types.ts
b/dolphinscheduler-ui/src/service/modules/resources/types.ts
index 71edfa4943..85c6fef9f8 100644
--- a/dolphinscheduler-ui/src/service/modules/resources/types.ts
+++ b/dolphinscheduler-ui/src/service/modules/resources/types.ts
@@ -95,6 +95,7 @@ interface ResourceFile {
id: number
pid: number
alias: string
+ userName: string
userId: number
type: string
directory: boolean
diff --git a/dolphinscheduler-ui/src/views/resource/file/use-file.ts
b/dolphinscheduler-ui/src/views/resource/file/use-file.ts
index e2727bfeb6..b16fb2b744 100644
--- a/dolphinscheduler-ui/src/views/resource/file/use-file.ts
+++ b/dolphinscheduler-ui/src/views/resource/file/use-file.ts
@@ -49,6 +49,7 @@ export function useFileState(
alias: item.alias,
fullName: item.fullName,
type: item.type,
+ user_name: item.userName,
directory: item.directory,
file_name: item.fileName,
description: item.description,