Merge pull request #3458 from crazyserver/MOBILE-3936
MOBILE-3936 reminders: Fix workshop reminders and custom positionmain
commit
6bd7bc644c
|
@ -9,7 +9,8 @@
|
|||
<core-loading [hideUntil]="!showLoading">
|
||||
|
||||
<!-- Activity info. -->
|
||||
<core-course-module-info [module]="module" [hasDataToSync]="hasOffline" (completionChanged)="onCompletionChange()">
|
||||
<core-course-module-info [module]="module" [component]="component" [componentId]="componentId" [courseId]="courseId"
|
||||
[hasDataToSync]="hasOffline" (completionChanged)="onCompletionChange()">
|
||||
</core-course-module-info>
|
||||
|
||||
<ion-card *ngIf="phases">
|
||||
|
|
|
@ -152,6 +152,9 @@ export class CoreRemindersSetReminderMenuComponent implements OnInit {
|
|||
* @param ev Click event.
|
||||
*/
|
||||
async setCustom(ev: Event): Promise<void> {
|
||||
ev.stopPropagation();
|
||||
ev.preventDefault();
|
||||
|
||||
const reminderTime = await CoreDomUtils.openPopover<CoreReminderValueAndUnit>({
|
||||
component: CoreRemindersSetReminderCustomComponent,
|
||||
componentProps: {
|
||||
|
@ -159,7 +162,6 @@ export class CoreRemindersSetReminderMenuComponent implements OnInit {
|
|||
customUnits: this.customUnits,
|
||||
},
|
||||
waitForDismissCompleted: true, // To be able to close parent popup.
|
||||
event: ev,
|
||||
});
|
||||
|
||||
if (reminderTime === undefined) {
|
||||
|
|
Loading…
Reference in New Issue