commit
42aa917cf8
|
@ -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);
|
||||
|
||||
|
|
|
@ -42,7 +42,8 @@
|
|||
</ion-icon>
|
||||
</ion-button>
|
||||
</ion-item>
|
||||
<ion-item *ngFor="let course of downloadedCourses" class="course" (click)="openCourse(course.id, course.title)" button>
|
||||
<ion-item *ngFor="let course of downloadedCourses" class="course" (click)="openCourse(course.id, course.title)" button
|
||||
detail="true">
|
||||
<ion-label class="ion-text-wrap">
|
||||
<p class="item-heading">{{ course.title }}</p>
|
||||
<p class="item-heading item-heading-secondary" *ngIf="course.isDownloading">
|
||||
|
|
|
@ -39,7 +39,8 @@
|
|||
<ion-label>
|
||||
<p>
|
||||
<ion-icon name="fas-circle-info" aria-hidden="true"></ion-icon>
|
||||
<core-format-text [text]="'core.reportbuilder.filtersapplied' | translate: { $a: reportUrl }" [filter]="false">
|
||||
<core-format-text [text]="'core.reportbuilder.filtersapplied' | translate: { $a: reportUrl }" [filter]="false"
|
||||
[captureLinks]="false">
|
||||
</core-format-text>
|
||||
</p>
|
||||
</ion-label>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
[placeholder]="'core.filter' | translate">
|
||||
</ion-searchbar>
|
||||
<ion-list>
|
||||
<ion-item button *ngIf="error" class="ion-text-wrap" [href]="licensesUrl" core-link auto-login="no">
|
||||
<ion-item button *ngIf="error" class="ion-text-wrap" [href]="licensesUrl" core-link auto-login="no" detail="false">
|
||||
<ion-label>
|
||||
{{ 'core.settings.opensourcelicenses' | translate }}
|
||||
</ion-label>
|
||||
|
|
Loading…
Reference in New Issue