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/02/18 15:12:33 UTC

[incubator-dlab] 01/01: [DLAB-1549]: Prevented lib_groups requests if library managements popup is not opened

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