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/09/01 08:24:45 UTC

[incubator-datalab] 01/01: [DATALAB-2539] fixed bug with wrong value for notebook_image_name

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

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

commit d7bff7ad9ee351980880e6732984534226244c90
Author: Yurii Tykhun <ty...@gmail.com>
AuthorDate: Wed Sep 1 11:24:20 2021 +0300

    [DATALAB-2539] fixed bug with wrong value for notebook_image_name
---
 .../exploratory/create-environment/create-environment.component.ts      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.ts b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.ts
index fa32e8e..a5bb5e1 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.ts
@@ -217,7 +217,7 @@ export class ExploratoryEnvironmentCreateComponent implements OnInit {
 
     if (!data.notebook_image_name 
       && this.currentTemplate.image === 'docker.datalab-deeplearning' 
-      && this.selectedCloud === 'aws' || this.selectedCloud === 'azure') {
+      && (this.selectedCloud === 'aws' || this.selectedCloud === 'azure')) {
       data.notebook_image_name = this.currentTemplate.exploratory_environment_versions[0].version;
     }
 

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