mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
[AAE-4661] Fix search results are still displayed when search term ge… (#6707)
* [AAE-4661] Fix search results are still displayed when search term gets deleted * Fix unit tests
This commit is contained in:
@@ -304,7 +304,9 @@ export class ContentNodeSelectorPanelComponent implements OnInit, OnDestroy {
|
||||
this.queryBuilderService.executed
|
||||
.pipe(takeUntil(this.onDestroy$))
|
||||
.subscribe( (results: NodePaging) => {
|
||||
this.showSearchResults(results);
|
||||
if (this.searchTerm) {
|
||||
this.showSearchResults(results);
|
||||
}
|
||||
});
|
||||
|
||||
this.userPreferencesService
|
||||
|
Reference in New Issue
Block a user