From 62a6f6532bc1a97fd6f2ce893e2a9b014cfbb856 Mon Sep 17 00:00:00 2001 From: garrettmills Date: Mon, 9 Nov 2020 12:29:52 -0600 Subject: [PATCH] Sync offline data when we come back online --- src/app/app.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 7afb6c4..9556271 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -443,6 +443,7 @@ export class AppComponent implements OnInit { } else if ( !isOffline && this.showedOfflineAlert ) { await toast.dismiss(); this.showedOfflineAlert = false; + await this.api.syncOfflineData(); } });