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

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

commit e2e5f74412e3dfd74689135638d8102b532a69db
Author: Dmytro_Gnatyshyn <di1...@ukr.net>
AuthorDate: Mon Jul 13 16:13:21 2020 +0300

    [DLAB-1750] Added validation for existing and installed libs
---
 .../exploratory/install-libraries/install-libraries.component.html     | 2 +-
 .../exploratory/install-libraries/install-libraries.component.ts       | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git 
a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.html
 
b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.html
index c4c96b0..285014d 100644
--- 
a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.html
+++ 
b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.html
@@ -73,7 +73,7 @@
 <!--                        <span *ngIf="item.version && item.version !== 
'N/A'">{{ item.version }}</span>-->
                       </a>
                       <span *ngIf="isInSelectedList || isInstalled">{{ 
item.name }}
-<!--                        <span *ngIf="item.version && item.version !== 
'N/A'">{{ item.version }}</span>-->
+                        <span *ngIf="item.version && item.version !== 
'N/A'">{{ item.version }}</span>
                       </span>
 
                       <strong *ngIf="isInSelectedList">selected
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 ea50a7d..063e406 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
@@ -189,7 +189,6 @@ export class InstallLibrariesComponent implements OnInit, 
OnDestroy {
 
   public addLibrary(item): void {
     const lib = item.split(':').filter(v => !!v);
-    console.log(lib);
     this.model.selectedLibs.push({ group: this.group, name: lib[0], version: 
lib[1] || 'N/A' });
     this.query = '';
     this.libSearch.setValue('');
@@ -315,7 +314,6 @@ export class InstallLibrariesComponent implements OnInit, 
OnDestroy {
     } else {
       this.model.getLibrariesList(this.group, this.query)
         .subscribe(libs => {
-          console.log(libs);
           this.filteredList = libs;
         });
     }
@@ -375,7 +373,6 @@ export class InstallLibrariesComponent implements OnInit, 
OnDestroy {
   }
 
   showlibinfo(lib: any) {
-    console.log(lib);
     this.isLibInfoOpened[lib.name] = !this.isLibInfoOpened[lib.name];
   }
 }


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

Reply via email to