MOBILE-3833 glossary: Do not infinite loading if not searched yet

main
Pau Ferrer Ocaña 2022-04-07 13:13:22 +02:00
parent 676a35f23d
commit c10db2e1f9
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@
[message]="'addon.mod_glossary.noentriesfound' | translate">
</core-empty-box>
<core-infinite-loading [enabled]="entries && !entries.completed" [error]="loadMoreError" (action)="loadMoreEntries($event)">
<core-infinite-loading [enabled]="entries && !entries.completed && (!isSearch || hasSearched)" [error]="loadMoreError"
(action)="loadMoreEntries($event)">
</core-infinite-loading>
</core-loading>