Merge pull request #2909 from dpalou/MOBILE-3832
MOBILE-3832 core: Fix infinite calls if error on infinite loadingmain
commit
81844e67d3
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue