Removing a condition that doesn't seem necessary before deleting docs.x
This commit is contained in:
parent
937fd885fa
commit
951deb5fef
|
@ -45,6 +45,7 @@ import Account from '../account';
|
||||||
import { Overlays } from '../overlays/Overlays';
|
import { Overlays } from '../overlays/Overlays';
|
||||||
import Finder, { findLocation } from '../finder';
|
import Finder, { findLocation } from '../finder';
|
||||||
import { ZoomIn } from '@suid/icons-material';
|
import { ZoomIn } from '@suid/icons-material';
|
||||||
|
import Note from '../note';
|
||||||
|
|
||||||
const [getState, setState] = createSignal({
|
const [getState, setState] = createSignal({
|
||||||
lon: 0,
|
lon: 0,
|
||||||
|
@ -295,8 +296,9 @@ const Map: Component = () => {
|
||||||
return (
|
return (
|
||||||
//<OsmFetch map={getMap} />
|
//<OsmFetch map={getMap} />
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
<div class='ol-map' ref={target}>
|
<div class="ol-map" ref={target}>
|
||||||
<Overlays map={getMap} />
|
<Overlays map={getMap} />
|
||||||
|
<Note />
|
||||||
<Finder />
|
<Finder />
|
||||||
<GetLocation />
|
<GetLocation />
|
||||||
<Show when={window.Capacitor.platform !== 'web'}>
|
<Show when={window.Capacitor.platform !== 'web'}>
|
||||||
|
|
|
@ -221,9 +221,8 @@ export const watchDbLegacy = async () => {
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
await until(
|
await until(
|
||||||
() =>
|
() => state()?.sync?.paused, //&&
|
||||||
state()?.sync?.paused &&
|
//state()?.sync?.lastSeq >= state()?.localUpdateSeq - 1, // I wonder why this can happen !
|
||||||
state()?.sync?.lastSeq >= state()?.localUpdateSeq - 1, // I wonder why this can happen !
|
|
||||||
1000
|
1000
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue