Change datastore to not need to deserialize LocalStorage for every read

This commit is contained in:
2025-07-06 15:29:51 +02:00
parent ab9f192f6f
commit ca35dbf92b
5 changed files with 93 additions and 74 deletions

View File

@@ -6,7 +6,7 @@ import { drawDraftingBoard } from './drafting-board.js';
import { DataStore } from './datastore.js';
window.Api = Api;
window.DataStore = DataStore;
window.dataStore = new DataStore();
setupPopups();
setupLocationsSearch();