(state)
| 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']) { |
nothing calls this directly
no outgoing calls
no test coverage detected