MOBILE-3320 calendar: Fix default events filter
parent
a0f41718f9
commit
313f765f37
|
@ -59,7 +59,7 @@ export class AddonCalendarFilterPopoverComponent implements OnInit {
|
||||||
* Init the component.
|
* Init the component.
|
||||||
*/
|
*/
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.courseId = this.filter.courseId + '';
|
this.courseId = (this.filter.courseId || -1) + '';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue