MOBILE-3320 calendar: Fix default events filter

main
Noel De Martin 2021-06-23 17:19:56 +02:00
parent a0f41718f9
commit 313f765f37
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ export class AddonCalendarFilterPopoverComponent implements OnInit {
* Init the component.
*/
ngOnInit(): void {
this.courseId = this.filter.courseId + '';
this.courseId = (this.filter.courseId || -1) + '';
}
/**