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

linxinyuan pushed a commit to branch xinyuan-stage-by-stage
in repository https://gitbox.apache.org/repos/asf/texera.git


The following commit(s) were added to refs/heads/xinyuan-stage-by-stage by this 
push:
     new 7a7c82b3da update
7a7c82b3da is described below

commit 7a7c82b3da096213f09a0f3b0e29fce523013134
Author: Xinyuan Lin <[email protected]>
AuthorDate: Sat Jan 10 01:37:42 2026 -0800

    update
---
 .../component/left-panel/settings/settings.component.ts   | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git 
a/frontend/src/app/workspace/component/left-panel/settings/settings.component.ts
 
b/frontend/src/app/workspace/component/left-panel/settings/settings.component.ts
index ab0c267fa4..1f7234a8f3 100644
--- 
a/frontend/src/app/workspace/component/left-panel/settings/settings.component.ts
+++ 
b/frontend/src/app/workspace/component/left-panel/settings/settings.component.ts
@@ -33,7 +33,7 @@ import {ExecutionMode} from 
"../../../../common/type/workflow";
   styleUrls: ["./settings.component.scss"],
 })
 export class SettingsComponent implements OnInit {
-  settingsForm!: FormGroup;
+  settingsForm: FormGroup;
 
   constructor(
     private fb: FormBuilder,
@@ -41,17 +41,14 @@ export class SettingsComponent implements OnInit {
     private workflowPersistService: WorkflowPersistService,
     private userService: UserService,
     private notificationService: NotificationService,
-  ) {}
-
-  ngOnInit(): void {
+  ) {
     this.settingsForm = this.fb.group({
-      dataTransferBatchSize: [
-        
this.workflowActionService.getWorkflowContent().settings.dataTransferBatchSize,
-        [Validators.required, Validators.min(1)],
-      ],
-      executionMode: 
[this.workflowActionService.getWorkflowContent().settings.executionMode],
+      dataTransferBatchSize: [[Validators.required, Validators.min(1)],],
+      executionMode: [],
     });
+  }
 
+  ngOnInit(): void {
     this.settingsForm
       .get("dataTransferBatchSize")!
       .valueChanges.pipe(untilDestroyed(this))

Reply via email to