MOBILE-3744 core: Fix some ionic migration check warnings

main
Pau Ferrer Ocaña 2021-04-28 17:06:48 +02:00
parent d8fa2142ea
commit a8c0d12c71
4 changed files with 6 additions and 6 deletions

View File

@ -634,7 +634,7 @@ export class AddonModForumIndexComponent extends CoreCourseModuleMainActivityCom
},
});
modal.present();
await modal.present();
const result = await modal.onDidDismiss<AddonModForumSortOrder>();
@ -668,7 +668,7 @@ export class AddonModForumIndexComponent extends CoreCourseModuleMainActivityCom
event,
});
popover.present();
await popover.present();
const result = await popover.onDidDismiss<{ action?: string; value: boolean }>();

View File

@ -228,7 +228,7 @@ export class AddonModForumPostComponent implements OnInit, OnDestroy, OnChanges
event,
});
popover.present();
await popover.present();
const result = await popover.onDidDismiss<{ action?: string }>();
@ -265,7 +265,7 @@ export class AddonModForumPostComponent implements OnInit, OnDestroy, OnChanges
backdropDismiss: false,
});
modal.present();
await modal.present();
const result = await modal.onDidDismiss<AddonModForumReply>();
const data = result.data;

View File

@ -414,7 +414,7 @@ export class AddonModGlossaryIndexComponent extends CoreCourseModuleMainActivity
event,
});
popover.present();
await popover.present();
const result = await popover.onDidDismiss<AddonModGlossaryFetchMode>();

View File

@ -1450,7 +1450,7 @@ export class CoreDomUtilsProvider {
const loading = new CoreIonLoadingElement(loadingElement);
loading.present();
await loading.present();
return loading;
}