Merge pull request #3689 from NoelDeMartin/MOBILE-2652
MOBILE-2652 glossary: Fix tablet navigationmain
commit
d6f9b5e7c4
|
@ -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">
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue