MOBILE-4362 wiki: Fix create empty page

main
Dani Palou 2023-10-04 11:21:35 +02:00
parent 408f767dfe
commit 8af557bbc6
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ export class AddonModWikiEditPage implements OnInit, OnDestroy, CanLeave {
async save(): Promise<void> {
const values = this.pageForm.value;
const title = values.title;
let text = values.text;
let text = values.text ?? '';
const modal = await CoreDomUtils.showModalLoading('core.sending', true);