added missing store hooks

This commit is contained in:
Steffen 2020-05-19 15:21:38 +02:00
parent 8cca5ece8d
commit 28a99ae914
No known key found for this signature in database
GPG Key ID: 764D74E98267DFC6
2 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,7 @@ module.exports = store => {
case "players/clear": case "players/clear":
case "players/set": case "players/set":
case "players/swap": case "players/swap":
case "players/move":
if (state.players.players.length) { if (state.players.players.length) {
localStorage.setItem( localStorage.setItem(
"players", "players",

View File

@ -255,6 +255,7 @@ module.exports = store => {
break; break;
case "players/set": case "players/set":
case "players/swap": case "players/swap":
case "players/move":
case "players/clear": case "players/clear":
case "players/remove": case "players/remove":
case "players/add": case "players/add":