Skip to content

Commit

Permalink
move resource pool init to ResourceSelection
Browse files Browse the repository at this point in the history
  • Loading branch information
nucleogenesis committed Jan 29, 2024
1 parent 2cbd234 commit 97ca355
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@
addSection,
removeSection,
setActiveSection,
initializeWorkingResourcePool,
initializeQuiz,
updateQuiz,
addQuestionToSelection,
Expand Down Expand Up @@ -425,7 +424,6 @@
addSection,
removeSection,
setActiveSection,
initializeWorkingResourcePool,
initializeQuiz,
updateQuiz,
addQuestionToSelection,
Expand Down Expand Up @@ -567,8 +565,6 @@
set(this.dragActive, true);
},
openSelectResources(section_id) {
//initialize workingResourcePool
this.initializeWorkingResourcePool();
this.$router.replace({ path: 'new/' + section_id + '/select-resources' });
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,10 @@
removeFromWorkingResourcePool,
resetWorkingResourcePool,
contentPresentInWorkingResourcePool,
initializeWorkingResourcePool,
} = injectQuizCreation();
initializeWorkingResourcePool();
const {
sectionSettings$,
selectFromBookmarks$,
Expand Down

0 comments on commit 97ca355

Please sign in to comment.