mirror of
https://github.com/romancm/gamebrary
synced 2024-12-01 07:19:14 +00:00
improve clear session mutation
This commit is contained in:
parent
bbfb0a0bf0
commit
bb2c700366
1 changed files with 13 additions and 1 deletions
|
@ -215,14 +215,26 @@ export default {
|
|||
|
||||
CLEAR_SESSION(state) {
|
||||
state.user = null;
|
||||
state.tags = {};
|
||||
state.notes = {};
|
||||
state.progresses = {};
|
||||
state.dragging = false;
|
||||
state.activeListIndex = null;
|
||||
state.gameLists = {};
|
||||
state.settings = null;
|
||||
state.platform = null;
|
||||
state.results = null;
|
||||
state.platforms = [];
|
||||
state.results = [];
|
||||
state.galleryOpen = false;
|
||||
state.games = {};
|
||||
state.boards = [];
|
||||
state.board = {};
|
||||
state.boardGames = [];
|
||||
state.gameModalData = null;
|
||||
state.publicGameData = {};
|
||||
state.game = null;
|
||||
state.wallpaperUrl = null;
|
||||
state.wallpapers = [];
|
||||
},
|
||||
|
||||
SET_NOTES(state, notes) {
|
||||
|
|
Loading…
Reference in a new issue