({ dispatch, state }, { studentId })
| 137 | }, |
| 138 | |
| 139 | toggleStudentSelectedId ({ dispatch, state }, { studentId }) { |
| 140 | if (state.selectedStudents[studentId]) { |
| 141 | dispatch('removeStudentSelectedId', { studentId }) |
| 142 | } else { |
| 143 | dispatch('addStudentSelectedId', { studentId }) |
| 144 | } |
| 145 | }, |
| 146 | |
| 147 | clearSelectedStudents ({ commit }) { |
| 148 | commit('clearSelectedStudents') |
nothing calls this directly
no test coverage detected