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,
...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;
};