Browse Source

Sync offline data when we come back online

master
Garrett Mills 3 months ago
parent
commit
62a6f6532b
Signed by: garrettmills GPG Key ID: D2BF5FBA8298F246
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/app/app.component.ts

+ 1
- 0
src/app/app.component.ts View File

@ -443,6 +443,7 @@ export class AppComponent implements OnInit {
} else if ( !isOffline && this.showedOfflineAlert ) {
await toast.dismiss();
this.showedOfflineAlert = false;
await this.api.syncOfflineData();
}
});


Loading…
Cancel
Save