Merge pull request #3689 from NoelDeMartin/MOBILE-2652

MOBILE-2652 glossary: Fix tablet navigation
main
Dani Palou 2023-05-24 12:40:45 +02:00 committed by GitHub
commit d6f9b5e7c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@
<h2 class="big">{{ 'addon.mod_glossary.entriestobesynced' | translate }}</h2>
</ion-label>
</ion-item-divider>
<ion-item *ngFor="let entry of entries.offlineEntries" (click)="entries.select(entry)" button
<ion-item *ngFor="let entry of entries.offlineEntries" (click)="entries.select(entry)" button detail="false"
[attr.aria-current]="entries.getItemAriaCurrent(entry)">
<ion-label>
<div class="addon-mod-glossary-index--offline-entry">
@ -58,7 +58,7 @@
</ion-label>
</ion-item-divider>
<ion-item button (click)="entries.select(entry)" [attr.aria-current]="entries.getItemAriaCurrent(entry)">
<ion-item button (click)="entries.select(entry)" [attr.aria-current]="entries.getItemAriaCurrent(entry)" detail="false">
<ion-label>
<core-format-text [text]="entry.concept" contextLevel="module" [contextInstanceId]="glossary!.coursemodule"
[courseId]="courseId">

View File

@ -197,7 +197,7 @@ export class AddonModGlossaryEntryPage implements OnInit, OnDestroy {
CoreDomUtils.showToast('addon.mod_glossary.entrydeleted', true, ToastDuration.LONG);
if (this.splitView?.outletActivated) {
await CoreNavigator.navigate('../');
await CoreNavigator.navigate('../../');
} else {
await CoreNavigator.back();
}