From 28a99ae914c886c495844b4b46dbbd910d899145 Mon Sep 17 00:00:00 2001 From: Steffen Date: Tue, 19 May 2020 15:21:38 +0200 Subject: [PATCH] added missing store hooks --- src/store/persistence.js | 1 + src/store/session.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/store/persistence.js b/src/store/persistence.js index 1caa897..4e38eaf 100644 --- a/src/store/persistence.js +++ b/src/store/persistence.js @@ -89,6 +89,7 @@ module.exports = store => { case "players/clear": case "players/set": case "players/swap": + case "players/move": if (state.players.players.length) { localStorage.setItem( "players", diff --git a/src/store/session.js b/src/store/session.js index 740257e..81c71b8 100644 --- a/src/store/session.js +++ b/src/store/session.js @@ -255,6 +255,7 @@ module.exports = store => { break; case "players/set": case "players/swap": + case "players/move": case "players/clear": case "players/remove": case "players/add":