diff --git a/ka-note/VERSION b/ka-note/VERSION index d103273..e5a1f48 100644 --- a/ka-note/VERSION +++ b/ka-note/VERSION @@ -1 +1 @@ -1.0.6 \ No newline at end of file +1.0.7 \ No newline at end of file diff --git a/ka-note/client/src/lib/components/Sidebar.svelte b/ka-note/client/src/lib/components/Sidebar.svelte index 343c070..0c76216 100644 --- a/ka-note/client/src/lib/components/Sidebar.svelte +++ b/ka-note/client/src/lib/components/Sidebar.svelte @@ -9,7 +9,7 @@ import { newId } from '$lib/db/helpers'; import type { AgendaContext, ContextType } from '@ka-note/shared'; import { account, logout } from '$lib/auth/authStore.js'; - import { syncStatus, lastSyncAt } from '$lib/sync/syncService'; + import { syncStatus, lastSyncAt, fullSync } from '$lib/sync/syncService'; const isDev = import.meta.env.DEV; let appVersion = $state('…'); @@ -285,17 +285,27 @@ {/if}
-
- {#if $syncStatus === 'syncing'} - - - - Syncing… - {:else if $syncStatus === 'error'} - ✗ Sync error - {:else if $lastSyncAt} - ✓ {$lastSyncAt.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })} - {/if} +
+
+ {#if $syncStatus === 'syncing'} + + + + Syncing… + {:else if $syncStatus === 'error'} + ✗ Sync error + {:else if $lastSyncAt} + ✓ {$lastSyncAt.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' })} + {:else} + Not synced + {/if} +
+