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

Function changeEventPanelTab

app/core/store/modules/events.js:101–103  ·  view source on GitHub ↗
(state, type = 'edit')

Source from the content-addressed store, hash-verified

99 Vue.set(state.eventPanel, 'visible', true)
100 },
101 changeEventPanelTab (state, type = 'edit') {
102 Vue.set(state.eventPanel, 'type', type)
103 },
104 closeEventPanel (state) {
105 Vue.set(state.eventPanel, 'visible', false)
106 Vue.delete(state.events, 'temp-event') // always remove preview

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected