MCPcopy Create free account
hub / github.com/codecombat/codecombat / selectedChapterId

Function selectedChapterId

ozaria/site/store/BaseCurriculumGuide.js:47–49  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

45 },
46
47 selectedChapterId (state) { // TODO: chapter or campaign or course?
48 return state.selectedCampaignId
49 },
50
51 getCurrentCourse (_state, getters, _rootState, rootGetters) {
52 if (!getters.selectedChapterId || !rootGetters['courses/sorted']) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected