mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-7242] fix eslint warnings for content services project (#7505)
* fix eslint warnings for content services project * fix typing issues
This commit is contained in:
@@ -41,9 +41,7 @@ import { debounceTime, takeUntil } from 'rxjs/operators';
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
preserveWhitespaces: false,
|
||||
exportAs: 'searchAutocomplete',
|
||||
host: {
|
||||
'class': 'adf-search'
|
||||
}
|
||||
host: { class: 'adf-search' }
|
||||
})
|
||||
export class SearchComponent implements SearchComponentInterface, AfterContentInit, OnChanges, OnDestroy {
|
||||
|
||||
@@ -168,7 +166,7 @@ export class SearchComponent implements SearchComponentInterface, AfterContentIn
|
||||
|
||||
onSearchDataLoaded(resultSetPaging: ResultSetPaging) {
|
||||
if (resultSetPaging) {
|
||||
this.results = <NodePaging> resultSetPaging;
|
||||
this.results = resultSetPaging as NodePaging;
|
||||
this.resultLoaded.emit(this.results);
|
||||
this.isOpen = true;
|
||||
this.setVisibility();
|
||||
|
Reference in New Issue
Block a user