You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/05/23 07:00:52 UTC
[dolphinscheduler] 03/33: [Fix][UI] Fix bug where username is empty in file manage (#10070)
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 <de...@gmail.com>
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,