Commit da862557 authored by christianrhansen's avatar christianrhansen

toggle editMode

parent 13afc5f0
......@@ -21,7 +21,7 @@ const mosys = {
},
mutations: {
setEditMode (state, mode) {
state.editMode = mode
state.editMode === mode ? state.editMode = undefined : state.editMode = mode
},
setEditingCells (state, cells) {
state.editingCells = cells
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment