MOBILE-3320 forum: Fix migration typos
parent
ea899125eb
commit
8ef7c7463b
|
@ -395,7 +395,7 @@ export class AddonModForumDiscussionPage implements OnInit, AfterViewInit, OnDes
|
|||
offlineReplies.push(reply);
|
||||
|
||||
// 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;
|
||||
}),
|
||||
|
|
|
@ -136,7 +136,7 @@ export class CoreCourseActivityPrefetchHandlerBase extends CoreCourseModulePrefe
|
|||
await this.setDownloaded(module.id, siteId, extra);
|
||||
} catch (error) {
|
||||
// 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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue