({ commit, state }, other)
| 49 | }, |
| 50 | |
| 51 | fetchOther ({ commit, state }, other) { |
| 52 | if (state.loadedOther) { return Promise.resolve() } |
| 53 | return api.courses.getAll({}, other).then(courses => commit('addOtherCourses', courses)).catch(_err => console.log('other product seems offline, skipping...')) |
| 54 | }, |
| 55 | |
| 56 | fetchReleased ({ commit, state }, options) { |
| 57 | if (options == null) { options = {} } |