Add state commits for hand modifications.
This commit is contained in:
parent
d639ed4a48
commit
62ba5364a1
1 changed files with 6 additions and 0 deletions
|
|
@ -107,6 +107,12 @@ export default new Vuex.Store({
|
||||||
setObject(state, chosenObject) {
|
setObject(state, chosenObject) {
|
||||||
state.chosen_object = chosenObject;
|
state.chosen_object = chosenObject;
|
||||||
},
|
},
|
||||||
|
replaceHand(state, questions) {
|
||||||
|
state.questions = questions;
|
||||||
|
},
|
||||||
|
appendToHand(state, questions) {
|
||||||
|
state.questions.push(...questions);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue