forked from CIT/Vmeda.Online
		
	MOBILE-3320 forum: Fix migration typos
This commit is contained in:
		
							parent
							
								
									ea899125eb
								
							
						
					
					
						commit
						8ef7c7463b
					
				@ -395,7 +395,7 @@ export class AddonModForumDiscussionPage implements OnInit, AfterViewInit, OnDes
 | 
				
			|||||||
                            offlineReplies.push(reply);
 | 
					                            offlineReplies.push(reply);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                            // Disable reply of the parent. Reply in offline to the same post is not allowed, edit instead.
 | 
					                            // Disable reply of the parent. Reply in offline to the same post is not allowed, edit instead.
 | 
				
			||||||
                            posts[reply.parentid!].capabilities.reply = false;
 | 
					                            onlinePostsMap[reply.parentid!].capabilities.reply = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                            return;
 | 
					                            return;
 | 
				
			||||||
                        }),
 | 
					                        }),
 | 
				
			||||||
 | 
				
			|||||||
@ -136,7 +136,7 @@ export class CoreCourseActivityPrefetchHandlerBase extends CoreCourseModulePrefe
 | 
				
			|||||||
            await this.setDownloaded(module.id, siteId, extra);
 | 
					            await this.setDownloaded(module.id, siteId, extra);
 | 
				
			||||||
        } catch (error) {
 | 
					        } catch (error) {
 | 
				
			||||||
            // Error prefetching, go back to previous status and reject the promise.
 | 
					            // Error prefetching, go back to previous status and reject the promise.
 | 
				
			||||||
            return this.setPreviousStatus(module.id, siteId);
 | 
					            await this.setPreviousStatus(module.id, siteId);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            throw error;
 | 
					            throw error;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user