This is an automated email from the ASF dual-hosted git repository.

songjian 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 bb1ba96  [Fix][UI Next][V1.0.0-Alpha] Fix tenant not exists error 
while import workflow. (#8797)
bb1ba96 is described below

commit bb1ba967cdd0715bb83f69406e3c184fcecd4294
Author: Amy0104 <[email protected]>
AuthorDate: Thu Mar 10 12:58:19 2022 +0800

    [Fix][UI Next][V1.0.0-Alpha] Fix tenant not exists error while import 
workflow. (#8797)
---
 .../src/views/projects/workflow/components/dag/dag-save-modal.tsx       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx
 
b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx
index b25ad7f..f95fab6 100644
--- 
a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx
+++ 
b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx
@@ -148,7 +148,7 @@ export default defineComponent({
       if (process) {
         formValue.value.name = process.name
         formValue.value.description = process.description
-        formValue.value.tenantCode = process.tenantCode
+        formValue.value.tenantCode = process.tenantCode || 'default'
         if (process.timeout && process.timeout > 0) {
           formValue.value.timeoutFlag = true
           formValue.value.timeout = process.timeout

Reply via email to