remove no longer needed mutations

This commit is contained in:
Gamebrary 2022-05-18 18:57:01 -07:00
parent 1ddc861aa3
commit 9951033c1f

View file

@ -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);
},