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

hshpak pushed a commit to branch fix/Libs-problem
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/fix/Libs-problem by this push:
     new 8904d7cf6 fixed DATALAB-2927, DATALAB-2928, DATALAB-2929
8904d7cf6 is described below

commit 8904d7cf6ac0a66ea7e4167962f8709951f0a1e7
Author: Hennadii_Shpak <[email protected]>
AuthorDate: Mon Jul 18 18:42:05 2022 +0300

    fixed DATALAB-2927, DATALAB-2928, DATALAB-2929
---
 .../image-detail-dialog.component.ts               | 69 ----------------------
 1 file changed, 69 deletions(-)

diff --git 
a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/image-detail-dialog/image-detail-dialog.component.ts
 
b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/image-detail-dialog/image-detail-dialog.component.ts
index acb2a5e1c..d34d6c1dd 100644
--- 
a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/image-detail-dialog/image-detail-dialog.component.ts
+++ 
b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/image-detail-dialog/image-detail-dialog.component.ts
@@ -22,73 +22,6 @@ import {MAT_DIALOG_DATA, MatDialog, MatDialogRef} from 
'@angular/material/dialog
 import {Library, ModalData} from '../../images';
 import {LibraryInfoModalComponent} from 
'../library-info-modal/library-info-modal.component';
 
-const libraryMock: Library[] = [
-  {
-    add_pkgs: [],
-    available_versions: [],
-    error_message: 'no_error\n',
-    group: 'os_pkg',
-    name: 'csvkit',
-    status: 'installed',
-    version: '1.0.2-2',
-  },
-  {
-    add_pkgs: [],
-    available_versions: [],
-    error_message: ' ',
-    group: 'pip3',
-    name: 'sScrapy',
-    status: 'installed',
-    version: '2.6.1',
-  },
-  {
-    add_pkgs: [],
-    available_versions: [],
-    error_message: ' ',
-    group: 'pip3',
-    name: 'zScrapy',
-    status: 'installed',
-    version: '2.6.1',
-  }
-  ,
-  {
-    add_pkgs: [],
-    available_versions: [],
-    error_message: ' ',
-    group: 'pip3',
-    name: 'aScrapy',
-    status: 'installed',
-    version: '2.6.1',
-  },
-  {
-    add_pkgs: null,
-    available_versions: null,
-    error_message: null,
-    group: 'java',
-    name: 'io.github.egonw.bacting:bioclipse-core',
-    status: 'installed',
-    version: '2.8.0.15',
-  },
-  {
-    add_pkgs: null,
-    available_versions: null,
-    error_message: null,
-    group: 'java',
-    name: 'io.github.egonw.bacting:bioclipse-core',
-    status: 'installed',
-    version: '2.8.0.15',
-  },
-  {
-    add_pkgs: [],
-    available_versions: [],
-    error_message: ' ',
-    group: 'others',
-    name: 'Pillow3f',
-    status: 'installed',
-    version: '0.0.7',
-  }
-];
-
 @Component({
   selector: 'datalab-image-detail-dialog',
   templateUrl: './image-detail-dialog.component.html',
@@ -109,9 +42,7 @@ export class ImageDetailDialogComponent implements OnInit {
   ) { }
 
   ngOnInit() {
-    this.data.image.libraries = libraryMock;
     this.libraryList = this.normalizeLibraries();
-    console.log(this.normalizeLibraries());
   }
 
   onLibraryInfo(libraryList): void {


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

Reply via email to