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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 23c9230   [DLAB-2055]: Fixed errors on library popup (#916)
23c9230 is described below

commit 23c92307f24bc61bfcceee12d860032948d7638f
Author: Dmytro Gnatyshyn <42860905+dg1...@users.noreply.github.com>
AuthorDate: Wed Sep 16 14:51:31 2020 +0300

     [DLAB-2055]: Fixed errors on library popup (#916)
    
    [DLAB-2055]: Fixed errors on library popup
---
 .../exploratory/install-libraries/install-libraries.component.ts       | 3 +++
 1 file changed, 3 insertions(+)

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 7c9dec1..f47a6c3 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
@@ -426,6 +426,9 @@ export class InstallLibrariesComponent implements OnInit, 
OnDestroy {
   }
 
   private getMatchedLibs() {
+    if (this.lib.name.length < 2) {
+      return;
+    }
     this.model.getLibrariesList(this.group, this.lib.name.toLowerCase())
       .pipe(
         takeUntil(this.unsubscribe$)


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

Reply via email to