Update list type mutation

This commit is contained in:
Roman Cervantes 2019-08-08 21:18:06 -07:00
parent 05983a41dd
commit 7a46aae0aa

View file

@ -187,6 +187,10 @@ export default {
state.gameLists[state.platform.code][listIndex].view = view;
},
UPDATE_LIST_TYPE(state, { listIndex, type }) {
state.gameLists[state.platform.code][listIndex].type = type;
},
UPDATE_LIST_SORT(state, { listIndex, sortOrder }) {
state.gameLists[state.platform.code][listIndex].sortOrder = sortOrder;
},