(state, modalName)
| 12 | } |
| 13 | }, |
| 14 | removeModal (state, modalName) { |
| 15 | const index = state.modals.findIndex(m => m.name === modalName) |
| 16 | if (index !== -1) { |
| 17 | state.modals.splice(index, 1) |
| 18 | } |
| 19 | }, |
| 20 | }, |
| 21 | getters: { |
| 22 | getTopModal: (state) => { |
nothing calls this directly
no outgoing calls
no test coverage detected