MCPcopy Create free account
hub / github.com/codecombat/codecombat / removeModal

Function removeModal

app/core/store/modules/modals.js:14–19  ·  view source on GitHub ↗
(state, modalName)

Source from the content-addressed store, hash-verified

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) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected