You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by li...@apache.org on 2022/05/17 07:32:35 UTC
[dolphinscheduler] branch 3.0.0-beta-prepare updated: [Fix][UI] Fix bug where username is empty in file manage (#10070) (#10073)
This is an automated email from the ASF dual-hosted git repository.
liudongkai pushed a commit to branch 3.0.0-beta-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/3.0.0-beta-prepare by this push:
new 8b0f222762 [Fix][UI] Fix bug where username is empty in file manage (#10070) (#10073)
8b0f222762 is described below
commit 8b0f2227629007801f67b8e18cc0569c24635669
Author: Devosend <de...@gmail.com>
AuthorDate: Tue May 17 15:32:29 2022 +0800
[Fix][UI] Fix bug where username is empty in file manage (#10070) (#10073)
---
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,