Store the current gpx id in account docs

This commit is contained in:
vdv committed 2023-02-13 18:30:01 +01:00
1 parent 8d32fa253a
commit 51ab7c38e0
3 files changed
+41 -3

No files matched your search

+8 -1
View File
@@ -1,6 +1,11 @@
/// <reference lib="webworker" />
import { initDb } from '../db';
import { getAccounts, putAccount } from '../db/account';
import {
getAccounts,
getCurrentAccount,
putAccount,
putCurrentAccount,
} from '../db/account';
import { cancelWatch, getAndWatch } from '../db/change-handler';
import {
putNewGpx,
@@ -65,6 +70,8 @@ onmessage = async function (e) {
getAccounts,
putAccount,
getCurrentAccount,
putCurrentAccount,
};
// console.log({ caller: 'dispatcher-worker / onmessage', e });