You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by yt...@apache.org on 2021/06/07 12:36:16 UTC

[incubator-datalab] branch DATALAB-2421 created (now 7fc13da)

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

ytykhun pushed a change to branch DATALAB-2421
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git.


      at 7fc13da  [DATALAB-2421] fixed bug with adding cluster configuration template for Spark Standalone cluster

This branch includes the following new commits:

     new 7fc13da  [DATALAB-2421] fixed bug with adding cluster configuration template for Spark Standalone cluster

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org


[incubator-datalab] 01/01: [DATALAB-2421] fixed bug with adding cluster configuration template for Spark Standalone cluster

Posted by yt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ytykhun pushed a commit to branch DATALAB-2421
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit 7fc13da216465187c11fed4090b657abfd3e5832
Author: Yurii Tykhun <ty...@gmail.com>
AuthorDate: Mon Jun 7 15:35:50 2021 +0300

    [DATALAB-2421] fixed bug with adding cluster configuration template for Spark Standalone cluster
---
 .../computational-resource-create-dialog.component.html              | 2 +-
 .../computational-resource-create-dialog.component.ts                | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.html
index 9f007c7..5a6b7aa 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.html
@@ -311,7 +311,7 @@
                [hidden]="PROVIDER === 'gcp' && selectedImage?.image === 'docker.datalab-dataengine-service'"
                *ngIf="notebook_instance?.image !== 'docker.datalab-zeppelin'">
               <div class="d-flex cursor-pointer label" (click)="addAdditionalParams('configuration')">
-                <div class="empty-checkbox ml-10" [ngClass]="{'checked': isSelected.configuration}" (click)="selectConfiguration()">
+                <div class="empty-checkbox ml-10" [ngClass]="{'checked': isSelected.configuration}">
                   <span class="checked-checkbox" *ngIf="isSelected.configuration"></span>
                 </div>
                 <span class="pl-5">Cluster configurations</span>
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts
index 274efb1..76852a9 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts
@@ -331,6 +331,11 @@ export class ComputationalResourceCreateDialogComponent implements OnInit {
 
   public addAdditionalParams(block: string) {
     this.isSelected[block] = !this.isSelected[block];
+
+    if (block === 'configuration') {
+      this.selectConfiguration();
+    }
+
     if (block === 'gpu') {
       const controls = ['master_GPU_type', 'master_GPU_count', 'slave_GPU_type', 'slave_GPU_count'];
       if (!this.isSelected.gpu) {

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org