Rename cidReqStore action - refs BT#20933

pull/4862/head
Angel Fernando Quiroz Campos 2 years ago
parent ac3418cef9
commit e233de830d
  1. 2
      assets/vue/router/index.js
  2. 4
      assets/vue/store/cidReq.js

@ -175,7 +175,7 @@ router.beforeResolve(async (to) => {
if (cid) {
await cidReqStore.setCourseAndSessionById(cid, sid)
} else {
cidReqStore.resetCidReq()
cidReqStore.resetCid()
}
})

@ -44,7 +44,7 @@ export const useCidReqStore = defineStore("cidReq", () => {
}
})
const resetCidReq = () => {
const resetCid = () => {
course.value = null
session.value = null
}
@ -92,7 +92,7 @@ export const useCidReqStore = defineStore("cidReq", () => {
userIsCoach,
resetCidReq,
resetCid,
setCourseAndSessionByIri,
setCourseAndSessionById,
}

Loading…
Cancel
Save