mirror of
https://github.com/romancm/gamebrary
synced 2024-11-27 05:30:22 +00:00
remove no longer needed mutations
This commit is contained in:
parent
1ddc861aa3
commit
9951033c1f
1 changed files with 0 additions and 11 deletions
|
@ -144,17 +144,6 @@ export default {
|
|||
state.game.gog = data;
|
||||
},
|
||||
|
||||
|
||||
ADD_GAME_TO_LIST({ board }, { listIndex, game }) {
|
||||
board.lists[listIndex].games.push(game.id);
|
||||
},
|
||||
|
||||
REMOVE_GAME_FROM_LIST({ board }, { listIndex, game }) {
|
||||
const currentList = board.lists[listIndex];
|
||||
|
||||
currentList.games.splice(currentList.games.indexOf(game.id), 1);
|
||||
},
|
||||
|
||||
REMOVE_LIST(state, index) {
|
||||
state.board.lists.splice(index, 1);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue