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

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

commit 73630a0f850bcb67af8546347ccd164817fec437
Author: Yurii Tykhun <[email protected]>
AuthorDate: Thu Jul 1 14:14:09 2021 +0300

    [DATALAB-2483] added none option for custom image
---
 .../create-environment/create-environment.component.html           | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git 
a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html
 
b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html
index 2f9af7a..289403e 100644
--- 
a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html
+++ 
b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html
@@ -105,6 +105,13 @@
               <mat-label>Select image</mat-label>
               <mat-select formControlName="notebook_image_name" 
panelClass="create-resources-dialog scrolling" disableOptionCentering>
                 <mat-option 
+                  *ngIf="currentTemplate?.image !== 
'docker.datalab-deeplearning'" 
+                  [value]="null" 
+                  (click)="setImage(null)"
+                >
+                  None
+                </mat-option>
+                <mat-option 
                   *ngFor="let image of images" 
                   [value]="image?.name" 
                   (click)="setImage(image)"

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to