diff --git a/src/renderer/store/maps.store.ts b/src/renderer/store/maps.store.ts index 022ddc22..586f3b5c 100644 --- a/src/renderer/store/maps.store.ts +++ b/src/renderer/store/maps.store.ts @@ -38,6 +38,7 @@ async function init() { if (!existingMap) { return db.maps.put(map) as Promise; } else { + //TODO this has a limitation. if a field change from defined to undefined it will not be updated. return db.maps.update(map.springName, { ...map }) as Promise; } });