@rdlabo/ionic-angular-kit 21.5.2 → 21.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1534,7 +1534,8 @@ class OfflineSyncService {
|
|
|
1534
1534
|
return commands.length > 0 ? 'pending' : 'idle';
|
|
1535
1535
|
}, ...(ngDevMode ? [{ debugName: "syncState" }] : /* istanbul ignore next */ []));
|
|
1536
1536
|
effect(() => {
|
|
1537
|
-
|
|
1537
|
+
const connected = this.#network.connected();
|
|
1538
|
+
if (this.#initialized && connected)
|
|
1538
1539
|
this.#flushInBackground();
|
|
1539
1540
|
});
|
|
1540
1541
|
}
|