mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
[ACA-2264] fix loading on search (#1011)
- do nothing on null built query
This commit is contained in:
parent
8045e17c28
commit
da65e59b8e
@ -109,9 +109,11 @@ export class SearchResultsComponent extends PageComponent implements OnInit {
|
|||||||
this.sorting = this.getSorting();
|
this.sorting = this.getSorting();
|
||||||
|
|
||||||
this.subscriptions.push(
|
this.subscriptions.push(
|
||||||
this.queryBuilder.updated.subscribe(() => {
|
this.queryBuilder.updated.subscribe(query => {
|
||||||
this.sorting = this.getSorting();
|
if (query) {
|
||||||
this.isLoading = true;
|
this.sorting = this.getSorting();
|
||||||
|
this.isLoading = true;
|
||||||
|
}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
this.queryBuilder.executed.subscribe(data => {
|
this.queryBuilder.executed.subscribe(data => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user