From 0c4c715b6a696006fd09444c82b29942c6c855fe Mon Sep 17 00:00:00 2001 From: Gamebrary Date: Wed, 18 May 2022 18:55:00 -0700 Subject: [PATCH] Remove game modal and sidebar --- src/components/Game/GameModal.vue | 235 ---------------------------- src/components/Game/GameSidebar.vue | 170 -------------------- src/store/mutations.js | 8 - src/store/state.js | 4 - 4 files changed, 417 deletions(-) delete mode 100644 src/components/Game/GameModal.vue delete mode 100644 src/components/Game/GameSidebar.vue diff --git a/src/components/Game/GameModal.vue b/src/components/Game/GameModal.vue deleted file mode 100644 index 20d939aa..00000000 --- a/src/components/Game/GameModal.vue +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - - - - diff --git a/src/components/Game/GameSidebar.vue b/src/components/Game/GameSidebar.vue deleted file mode 100644 index 26c1eaa5..00000000 --- a/src/components/Game/GameSidebar.vue +++ /dev/null @@ -1,170 +0,0 @@ - - - - diff --git a/src/store/mutations.js b/src/store/mutations.js index 97b1c538..030fd33c 100644 --- a/src/store/mutations.js +++ b/src/store/mutations.js @@ -119,10 +119,6 @@ export default { state.boards.splice(boardIndex, 1); }, - SET_GAME_MODAL_DATA(state, activeGame) { - state.activeGame = activeGame; - }, - SET_GAME(state, game) { state.game = game; }, @@ -148,9 +144,6 @@ export default { state.game.gog = data; }, - CLEAR_GAME_MODAL_DATA(state) { - state.activeGame = null; - }, ADD_GAME_TO_LIST({ board }, { listIndex, game }) { board.lists[listIndex].games.push(game.id); @@ -233,7 +226,6 @@ export default { state.boards = []; state.board = {}; state.boardGames = []; - state.activeGame = null; state.wallpaperUrl = null; state.wallpapers = []; }, diff --git a/src/store/state.js b/src/store/state.js index d0c0ed75..4470ccb6 100644 --- a/src/store/state.js +++ b/src/store/state.js @@ -15,10 +15,6 @@ export default { board: {}, game: {}, boardGames: [], - activeGame: { - gameId: null, - list: null, - }, wallpapers: [], platform: null, sessionExpired: false,