mirror of
https://github.com/romancm/gamebrary
synced 2024-11-24 12:13:08 +00:00
Update list type mutation
This commit is contained in:
parent
05983a41dd
commit
7a46aae0aa
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue