feat(frontend): wa-sqlite memory-only + Factureaza + Vite polling + Appointments + Catalog

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 18:37:08 +02:00
parent 78d2a77b0d
commit 9aef3d6933
6 changed files with 673 additions and 20 deletions

View File

@@ -14,8 +14,13 @@ app.use(pinia)
app.use(router)
const auth = useAuthStore()
if (auth.isAuthenticated) {
initDatabase().then(() => syncEngine.fullSync())
async function bootstrap() {
if (auth.isAuthenticated) {
await initDatabase()
syncEngine.fullSync().catch(() => {})
}
app.mount('#app')
}
app.mount('#app')
bootstrap()