Merge pull request #2909 from dpalou/MOBILE-3832
MOBILE-3832 core: Fix infinite calls if error on infinite loading
This commit is contained in:
		
						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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user