From 9951033c1f6bdad133eaf8dc20324fbf3bf0aaf1 Mon Sep 17 00:00:00 2001 From: Gamebrary Date: Wed, 18 May 2022 18:57:01 -0700 Subject: [PATCH] remove no longer needed mutations --- src/store/mutations.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/store/mutations.js b/src/store/mutations.js index 030fd33c..54fc8534 100644 --- a/src/store/mutations.js +++ b/src/store/mutations.js @@ -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); },