MOBILE-3832 core: Fix infinite calls if error on infinite loading
parent
9a63793cf2
commit
5a573f3dfa
|
@ -69,7 +69,7 @@ export class CoreInfiniteLoadingComponent implements OnChanges {
|
|||
* like the Ionic component does.
|
||||
*/
|
||||
protected async checkScrollDistance(): Promise<void> {
|
||||
if (!this.enabled) {
|
||||
if (!this.enabled || this.error || this.loadingMore) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue