From 951deb5fef9a30a883e772ce3b1f4bd3fe561227 Mon Sep 17 00:00:00 2001 From: Eric van der Vlist Date: Wed, 15 Feb 2023 15:37:45 +0100 Subject: [PATCH] Removing a condition that doesn't seem necessary before deleting docs.x --- src/components/map/Map.tsx | 4 +++- src/db-admin/health-legacy.ts | 5 ++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/map/Map.tsx b/src/components/map/Map.tsx index 924e72d..9fdfe05 100644 --- a/src/components/map/Map.tsx +++ b/src/components/map/Map.tsx @@ -45,6 +45,7 @@ import Account from '../account'; import { Overlays } from '../overlays/Overlays'; import Finder, { findLocation } from '../finder'; import { ZoomIn } from '@suid/icons-material'; +import Note from '../note'; const [getState, setState] = createSignal({ lon: 0, @@ -295,8 +296,9 @@ const Map: Component = () => { return ( // // @ts-ignore -
+
+ diff --git a/src/db-admin/health-legacy.ts b/src/db-admin/health-legacy.ts index 75e63f7..62ae5bb 100644 --- a/src/db-admin/health-legacy.ts +++ b/src/db-admin/health-legacy.ts @@ -221,9 +221,8 @@ export const watchDbLegacy = async () => { while (true) { await until( - () => - state()?.sync?.paused && - state()?.sync?.lastSeq >= state()?.localUpdateSeq - 1, // I wonder why this can happen ! + () => state()?.sync?.paused, //&& + //state()?.sync?.lastSeq >= state()?.localUpdateSeq - 1, // I wonder why this can happen ! 1000 );