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/07/01 11:15:27 UTC
[incubator-datalab] 01/01: [DATALAB-2483] added none option for
custom image
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 <ty...@gmail.com>
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: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org