You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dg...@apache.org on 2020/03/30 15:56:25 UTC

[incubator-dlab] branch DLAB-1676 created (now 1ecfff9)

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

dgnatyshyn pushed a change to branch DLAB-1676
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git.


      at 1ecfff9  [DLAB-1676]: Fixed bugs for set of rules libraries installation

This branch includes the following new commits:

     new 1ecfff9  [DLAB-1676]: Fixed bugs for set of rules libraries installation

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@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org


[incubator-dlab] 01/01: [DLAB-1676]: Fixed bugs for set of rules libraries installation

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

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

commit 1ecfff9f622c8aaa7d859bdf9a024da6771eef59
Author: Dmytro Gnatyshyn <di...@ukr.net>
AuthorDate: Mon Mar 30 17:56:18 2020 +0300

    [DLAB-1676]: Fixed bugs for set of rules libraries installation
---
 .../install-libraries/install-libraries.component.ts           | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.ts b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.ts
index 839bc46..2f2d733 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.ts
@@ -190,7 +190,6 @@ export class InstallLibrariesComponent implements OnInit, OnDestroy {
     this.model.selectedLibs.push({ group: this.group, name: item.name, version: item.version });
     this.query = '';
     this.libSearch.setValue('');
-
     this.filteredList = null;
   }
 
@@ -223,8 +222,8 @@ export class InstallLibrariesComponent implements OnInit, OnDestroy {
   }
 
   public isInstallingInProgress(): void {
-    const isInstallingNow = this.notebookLibs.some(lib => lib.filteredStatus.some(status => status.status === 'installing'));
-      if (isInstallingNow) {
+    this.installingInProgress = this.notebookLibs.some(lib => lib.filteredStatus.some(status => status.status === 'installing'));
+      if (this.installingInProgress) {
         clearTimeout(this.loadLibsTimer);
         this.loadLibsTimer = window.setTimeout(() => this.getInstalledLibrariesList(), 10000);
       }
@@ -309,11 +308,9 @@ export class InstallLibrariesComponent implements OnInit, OnDestroy {
   }
 
   private selectorsReset(): void {
-    if( this.destination.name === this.getResourcesList()[0].name) {
-      return;
-    }
     this.destination = this.getResourcesList()[0];
     this.uploadLibGroups();
+    this.getInstalledLibsByResource();
   }
 
   private resetDialog(): void {
@@ -325,7 +322,6 @@ export class InstallLibrariesComponent implements OnInit, OnDestroy {
     this.uploading = false;
     this.model.selectedLibs = [];
     this.filteredList = null;
-    // this.destination = null;
     this.groupsList = [];
 
     clearTimeout(this.clear);


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