Merged develop into feature/vv-update

This commit is contained in:
Daniel Egger 2023-03-10 09:12:29 +00:00
commit c5c4d12010
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ export const useLearningPathStore = defineStore({
learningPathForUser: (state) => {
return (courseSlug: string, userId: string | number | undefined) => {
if (state.learningPaths.size > 0) {
const learningPathKey = getLearningPathKey(courseSlug, userId);
const learningPathKey = getLearningPathKey(`${courseSlug}-lp`, userId);
return state.learningPaths.get(learningPathKey);
}