mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3467] force the input to be updated when user type for removing … (#3693)
* [ADF-3467] force the input to be updated when user type for removing placeholder * [ADF-3467] fixed error when search page is opened without any parameters to search
This commit is contained in:
@@ -162,8 +162,10 @@ export class SearchQueryBuilderService {
|
||||
|
||||
async execute() {
|
||||
const query = this.buildQuery();
|
||||
const data = await this.alfrescoApiService.searchApi.search(query);
|
||||
this.executed.next(data);
|
||||
if (query) {
|
||||
const data = await this.alfrescoApiService.searchApi.search(query);
|
||||
this.executed.next(data);
|
||||
}
|
||||
}
|
||||
|
||||
buildQuery(): QueryBody {
|
||||
|
Reference in New Issue
Block a user