mirror of
https://github.com/Pandipipas/scoreko-dev.git
synced 2026-06-06 03:32:06 +00:00
Ensure players replicant saves synchronously
This commit is contained in:
@@ -97,7 +97,7 @@ export const usePlayersStore = defineStore('players', () => {
|
||||
replicant.data = normalizePlayers(value);
|
||||
replicant.save();
|
||||
},
|
||||
{ deep: true }
|
||||
{ deep: true, flush: 'sync' }
|
||||
);
|
||||
|
||||
const setPlayers = (value: PlayersMap) => {
|
||||
|
||||
Reference in New Issue
Block a user