This is an automated email from the ASF dual-hosted git repository. zhongjiajie pushed a commit to branch 3.0.0-beta-prepare in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
commit c2abc650a2f54395800afc36c741567bc42015b5 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) (cherry picked from commit c16424027e369c8cde2da966f08ded06ba0744df) --- 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,
