MOBILE-4616 blog: Add courseId param in entry creation
parent
904950d848
commit
f4d3a92615
|
@ -408,7 +408,7 @@ export class AddonBlogIndexPage implements OnInit, OnDestroy {
|
||||||
* Redirect to entry creation form.
|
* Redirect to entry creation form.
|
||||||
*/
|
*/
|
||||||
createNewEntry(): void {
|
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 } });
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue