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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user