You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/11/18 11:56:19 UTC

[incubator-dlab] 01/01: [DLAB-1235]: reset images list on project selection switch

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

ankovalyshyn pushed a commit to branch DLAB-1235
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit bd2e84f35fc2d014b4b4995e63c2c52e1f0aa3f2
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Mon Nov 18 13:56:02 2019 +0200

    [DLAB-1235]: reset images list on project selection switch
---
 .../exploratory/create-environment/create-environment.component.ts      | 2 ++
 1 file changed, 2 insertions(+)

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 e42ea92..cb50764 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
@@ -80,6 +80,8 @@ export class ExploratoryEnvironmentCreateComponent implements OnInit {
   }
 
   public setEndpoints(project) {
+    if (this.images) this.images = [];
+
     this.endpoints = project.endpoints
       .filter(e => e.status === 'RUNNING')
       .map(e => e.name);


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