MOBILE-4616 blog: Add courseId param in entry creation

main
Alfonso Salces 2024-10-15 09:14:06 +02:00
parent 904950d848
commit f4d3a92615
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ export class AddonBlogIndexPage implements OnInit, OnDestroy {
* Redirect to entry creation form.
*/
createNewEntry(): void {
CoreNavigator.navigateToSitePath('blog/edit/0', { params: { cmId: this.filter.cmid } });
CoreNavigator.navigateToSitePath('blog/edit/0', { params: { cmId: this.filter.cmid, courseId: this.filter.courseid } });
}
/**