({ dispatch }, options)
| 149 | }, |
| 150 | |
| 151 | fetchData ({ dispatch }, options) { |
| 152 | let cmptName = COMPONENT_NAMES.MY_CLASSES_SINGLE |
| 153 | if (options?.componentName) { |
| 154 | cmptName = options.componentName |
| 155 | } |
| 156 | return dispatch('teacherDashboard/fetchData', { componentName: cmptName, options: _.assign({ data: projectionData }, options) }, { root: true }) |
| 157 | }, |
| 158 | |
| 159 | async applyLicenses ({ state, rootGetters, dispatch, getters }, { selectedPrepaidId } = { selectedPrepaidId: undefined }) { |
| 160 | const students = getters.selectedStudentIds.map(id => rootGetters['teacherDashboard/getMembersCurrentClassroom'].find(({ _id }) => id === _id)).filter(Boolean) |
nothing calls this directly
no test coverage detected