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

chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new 940cf13935 [ZEPPELIN-6079] Fix Interpreter Configuration not working 
in new UI (#4818)
940cf13935 is described below

commit 940cf13935ec9ed989c7afeec98447c2e7eb5a7e
Author: cherrie-k <80851202+cherri...@users.noreply.github.com>
AuthorDate: Tue Sep 10 13:14:16 2024 +0900

    [ZEPPELIN-6079] Fix Interpreter Configuration not working in new UI (#4818)
---
 .../src/app/pages/workspace/interpreter/item/item.component.ts         | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/zeppelin-web-angular/src/app/pages/workspace/interpreter/item/item.component.ts
 
b/zeppelin-web-angular/src/app/pages/workspace/interpreter/item/item.component.ts
index fb9fb0097d..f23905d3ce 100644
--- 
a/zeppelin-web-angular/src/app/pages/workspace/interpreter/item/item.component.ts
+++ 
b/zeppelin-web-angular/src/app/pages/workspace/interpreter/item/item.component.ts
@@ -291,9 +291,10 @@ export class InterpreterItemComponent extends 
DestroyHookComponent implements On
 
       // set dependencies fields
       this.interpreter.dependencies.forEach(e => {
+        const exclusions = Array.isArray(e.exclusions) ? e.exclusions : [];
         this.dependenciesFormArray.push(
           this.formBuilder.group({
-            exclusions: [e.exclusions.join(',')],
+            exclusions: [exclusions.join(',')],
             groupArtifactVersion: [e.groupArtifactVersion, 
[Validators.required]]
           })
         );

Reply via email to