Skip to content

Commit

Permalink
fix the broken route
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanOXDi committed May 8, 2024
1 parent 4f62346 commit a300c42
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,9 @@
handleActiveSectionAction(opt) {
const section_id = this.activeSection.section_id;
const editRoute = this.$router.getRoute(PageNames.QUIZ_SECTION_EDITOR, { section_id });
const resourcesRoute = this.$router.getRoute(PageNames.QUIZ_SELECT_RESOURCES);
const resourcesRoute = this.$router.getRoute(PageNames.QUIZ_SELECT_RESOURCES, {
section_id,
});
switch (opt.label) {
case this.editSectionLabel$():
this.$router.push(editRoute);
Expand Down

0 comments on commit a300c42

Please sign in to comment.