From 8d4b30fea897f005e7c2d8a6c5790d44b472156b Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 11 May 2023 10:09:53 +0200 Subject: [PATCH] MOBILE-4270 wiki: Fix groups navigation --- src/addons/mod/wiki/components/index/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/addons/mod/wiki/components/index/index.ts b/src/addons/mod/wiki/components/index/index.ts index 38780e1bb..0f1553ac3 100644 --- a/src/addons/mod/wiki/components/index/index.ts +++ b/src/addons/mod/wiki/components/index/index.ts @@ -601,6 +601,8 @@ export class AddonModWikiIndexComponent extends CoreCourseModuleMainActivityComp module: this.module, ...options, }, + animated: !options.replace, + replace: options.replace, }, ); } @@ -649,6 +651,7 @@ export class AddonModWikiIndexComponent extends CoreCourseModuleMainActivityComp subwikiId: subwikiId, userId: userId, groupId: groupId, + replace: true, }); } } @@ -1089,4 +1092,5 @@ type AddonModWikiOpenPageOptions = { pageId?: number; userId?: number; groupId?: number; + replace?: boolean; };