You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by hs...@apache.org on 2022/10/06 10:58:35 UTC

[incubator-datalab] branch fix/DATALAB-3081/hide-possibility-to-install-library updated: minor fix

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

hshpak pushed a commit to branch fix/DATALAB-3081/hide-possibility-to-install-library
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/fix/DATALAB-3081/hide-possibility-to-install-library by this push:
     new 6325d19c6 minor fix
6325d19c6 is described below

commit 6325d19c61f4b290421a11b77f39abd042d9f024
Author: Hennadii_Shpak <bo...@gmail.com>
AuthorDate: Thu Oct 6 13:58:24 2022 +0300

    minor fix
---
 .../exploratory/install-libraries/install-libraries.component.ts    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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 73d601ca4..78ed017c9 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
@@ -113,8 +113,8 @@ export class InstallLibrariesComponent implements OnInit, OnDestroy {
       takeUntil(this.unsubscribe$)
       )
       .subscribe(value => {
-        if(!!value?.match(/\s+/g)) {
-          this.libSearch.setValue(value.replace(/\s+/g, ''))
+        if (!!value?.match(/\s+/g)) {
+          this.libSearch.setValue(value.replace(/\s+/g, ''));
           this.lib.name = value.replace(/\s+/g, '');
         } else {
           this.lib.name = value;
@@ -219,7 +219,7 @@ export class InstallLibrariesComponent implements OnInit, OnDestroy {
     this.checkFilters();
   }
 
-  private checkFilters() : void{
+  private checkFilters(): void {
     this.isFilterChanged = CompareUtils.compareFilters(this.filterModel, this.cashedFilterForm);
     this.isFilterSelected = Object.keys(this.filterModel).some(v => this.filterModel[v].length > 0);
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org