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

kerwin pushed a commit to branch 3.2.0-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/3.2.0-prepare by this push:
     new 745a81d318 cherry-pick [Feature-14505][UI] Support to set 
project-level preferences #14573
745a81d318 is described below

commit 745a81d318f8b74afaf4bbf13b8c3d77428cd0f8
Author: calvin <[email protected]>
AuthorDate: Wed Jul 19 15:35:54 2023 +0800

    cherry-pick [Feature-14505][UI] Support to set project-level preferences
    #14573
---
 .../src/views/projects/preference/components/use-alert-group.ts        | 3 ++-
 .../src/views/projects/preference/components/use-tenant.ts             | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/dolphinscheduler-ui/src/views/projects/preference/components/use-alert-group.ts
 
b/dolphinscheduler-ui/src/views/projects/preference/components/use-alert-group.ts
index 323c3374f4..cbe469dbf0 100644
--- 
a/dolphinscheduler-ui/src/views/projects/preference/components/use-alert-group.ts
+++ 
b/dolphinscheduler-ui/src/views/projects/preference/components/use-alert-group.ts
@@ -42,6 +42,7 @@ export function useAlertGroup(): IJsonItem {
     field: 'alertGroups',
     span: 12,
     name: t('project.workflow.alarm_group'),
-    options: options
+    options: options,
+    value: 'default'
   }
 }
diff --git 
a/dolphinscheduler-ui/src/views/projects/preference/components/use-tenant.ts 
b/dolphinscheduler-ui/src/views/projects/preference/components/use-tenant.ts
index 01f6b3b9a8..1bc2fac997 100644
--- a/dolphinscheduler-ui/src/views/projects/preference/components/use-tenant.ts
+++ b/dolphinscheduler-ui/src/views/projects/preference/components/use-tenant.ts
@@ -42,6 +42,7 @@ export function useTenant(): IJsonItem {
     field: 'tenant',
     span: 12,
     name: t('project.workflow.tenant_code'),
-    options: options
+    options: options,
+    value: 'default'
   }
 }

Reply via email to