@@ -71,8 +71,7 @@ import { DEFAULT_TEXT_FORMAT } from '@singletons/text';
7171} )
7272export default class AddonCalendarEditEventPage implements OnInit , OnDestroy , CanLeave {
7373
74- readonly descriptionEditor = viewChild . required ( CoreEditorRichTextEditorComponent ) ;
75- readonly formElement = viewChild . required < ElementRef < HTMLFormElement > > ( 'editEventForm' ) ;
74+ readonly formElement = viewChild < ElementRef < HTMLFormElement > > ( 'editEventForm' ) ;
7675
7776 title = 'addon.calendar.newevent' ;
7877 component = ADDON_CALENDAR_COMPONENT ;
@@ -160,8 +159,6 @@ export default class AddonCalendarEditEventPage implements OnInit, OnDestroy, Ca
160159
161160 /**
162161 * Fetch the data needed to render the form.
163- *
164- * @returns Promise resolved when done.
165162 */
166163 protected async fetchData ( ) : Promise < void > {
167164 this . error = false ;
@@ -448,7 +445,6 @@ export default class AddonCalendarEditEventPage implements OnInit, OnDestroy, Ca
448445 * Load groups of a certain course.
449446 *
450447 * @param courseId Course ID.
451- * @returns Promise resolved when done.
452448 */
453449 protected async loadGroups ( courseId : number ) : Promise < void > {
454450 this . loadingGroups = true ;
@@ -629,8 +625,6 @@ export default class AddonCalendarEditEventPage implements OnInit, OnDestroy, Ca
629625
630626 /**
631627 * Init reminders.
632- *
633- * @returns Promise resolved when done.
634628 */
635629 protected async initReminders ( ) : Promise < void > {
636630 // Don't init reminders when editing an event. Right now, only allow adding reminders for new events.
0 commit comments