(_state, getters, _rootState, rootGetters)
| 49 | }, |
| 50 | |
| 51 | getCurrentCourse (_state, getters, _rootState, rootGetters) { |
| 52 | if (!getters.selectedChapterId || !rootGetters['courses/sorted']) { |
| 53 | return |
| 54 | } |
| 55 | |
| 56 | const courses = rootGetters['courses/sorted'] |
| 57 | return courses.find(({ campaignID }) => campaignID === getters.selectedChapterId) |
| 58 | }, |
| 59 | |
| 60 | getCapstoneInfo (_state, getters, _rootState, rootGetters) { |
| 61 | const gameContent = rootGetters['gameContent/getContentForCampaign'](getters.selectedChapterId) |
nothing calls this directly
no outgoing calls
no test coverage detected