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 <borch...@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-unsubscr...@datalab.apache.org For additional commands, e-mail: commits-h...@datalab.apache.org