MOBILE-4270 wiki: Fix groups navigation

main
Noel De Martin 2023-05-11 10:09:53 +02:00
parent dbd96d7181
commit 8d4b30fea8
1 changed files with 4 additions and 0 deletions

View File

@ -601,6 +601,8 @@ export class AddonModWikiIndexComponent extends CoreCourseModuleMainActivityComp
module: this.module, module: this.module,
...options, ...options,
}, },
animated: !options.replace,
replace: options.replace,
}, },
); );
} }
@ -649,6 +651,7 @@ export class AddonModWikiIndexComponent extends CoreCourseModuleMainActivityComp
subwikiId: subwikiId, subwikiId: subwikiId,
userId: userId, userId: userId,
groupId: groupId, groupId: groupId,
replace: true,
}); });
} }
} }
@ -1089,4 +1092,5 @@ type AddonModWikiOpenPageOptions = {
pageId?: number; pageId?: number;
userId?: number; userId?: number;
groupId?: number; groupId?: number;
replace?: boolean;
}; };