Merge pull request #2909 from dpalou/MOBILE-3832

MOBILE-3832 core: Fix infinite calls if error on infinite loading
main
Noel De Martin 2021-08-04 10:40:22 +02:00 committed by GitHub
commit 81844e67d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ export class CoreInfiniteLoadingComponent implements OnChanges {
* like the Ionic component does. * like the Ionic component does.
*/ */
protected async checkScrollDistance(): Promise<void> { protected async checkScrollDistance(): Promise<void> {
if (!this.enabled) { if (!this.enabled || this.error || this.loadingMore) {
return; return;
} }