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

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

commit af3a66e4c5eede6450d682bb4a03a4dbc316bd1a
Author: Dmytro Gnatyshyn <[email protected]>
AuthorDate: Tue Feb 18 17:12:02 2020 +0200

    [DLAB-1549]: Prevented lib_groups requests if library managements popup is 
not opened
---
 .../exploratory/install-libraries/install-libraries.component.ts        | 2 ++
 1 file changed, 2 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 05956a3..a4bfe90 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
@@ -101,6 +101,7 @@ export class InstallLibrariesComponent implements OnInit, 
OnDestroy {
 
   ngOnDestroy() {
     clearTimeout(this.loadLibsTimer);
+    clearTimeout(this.clear);
   }
 
   uploadLibGroups(): void {
@@ -325,6 +326,7 @@ export class InstallLibrariesComponent implements OnInit, 
OnDestroy {
 
     this.libSearch.disable();
     clearTimeout(this.clear);
+    clearTimeout(this.loadLibsTimer);
     this.selectorsReset();
   }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to