({ commit, state }, { type = 'info', date, eventId, event, instance } = {})
| 111 | }, |
| 112 | actions: { |
| 113 | openEventPanel ({ commit, state }, { type = 'info', date, eventId, event, instance } = {}) { |
| 114 | if (eventId) { |
| 115 | event = state.events[eventId] |
| 116 | } |
| 117 | commit('selectEvent', { event, instance }) |
| 118 | commit('openPanel', { type, date }) |
| 119 | }, |
| 120 | async fetchAllEvents ({ dispatch }) { |
| 121 | const events = await getAllEvents() |
| 122 |
nothing calls this directly
no outgoing calls
no test coverage detected