@resolveio/client-lib-core 1.1.9 → 1.1.10
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.
- package/esm2020/lib/socket-manager.service.mjs +4 -2
- package/esm2020/lib/widgets/navbar-main/navbar-main.component.mjs +2 -1
- package/fesm2015/resolveio-client-lib-core.mjs +4 -1
- package/fesm2015/resolveio-client-lib-core.mjs.map +1 -1
- package/fesm2020/resolveio-client-lib-core.mjs +4 -1
- package/fesm2020/resolveio-client-lib-core.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1333,7 +1333,9 @@ class SocketManagerService {
|
|
|
1333
1333
|
}
|
|
1334
1334
|
else {
|
|
1335
1335
|
if (data[4] === 'insertDocument') {
|
|
1336
|
-
|
|
1336
|
+
if (data[5] !== 'driver-gps') {
|
|
1337
|
+
this._alert.setAlert('warning', 'This insert command has not taken place on the server yet because you are offline. It will automatically sync up next time you are online as long as you do not clear your cache!');
|
|
1338
|
+
}
|
|
1337
1339
|
this._offline.insertDocument('collectionUpdate', {
|
|
1338
1340
|
type: 'insert',
|
|
1339
1341
|
data: data,
|
|
@@ -4574,6 +4576,7 @@ class NavbarMainComponent extends BaseComponent {
|
|
|
4574
4576
|
this._app.isLoggingOut.next(true);
|
|
4575
4577
|
this._services._router.navigateByUrl('/home');
|
|
4576
4578
|
this._services._account.logOut();
|
|
4579
|
+
this._app.isLoggingOut.next(false);
|
|
4577
4580
|
}
|
|
4578
4581
|
login() {
|
|
4579
4582
|
this.auth.loginUser().then(() => { }, err => { });
|