@resolveio/client-lib-core 1.1.11 → 1.1.12
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/account-manager.service.mjs +2 -2
- package/esm2020/lib/widgets/navbar-main/navbar-main.component.mjs +1 -2
- package/fesm2015/resolveio-client-lib-core.mjs +1 -2
- package/fesm2015/resolveio-client-lib-core.mjs.map +1 -1
- package/fesm2020/resolveio-client-lib-core.mjs +1 -2
- package/fesm2020/resolveio-client-lib-core.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1557,13 +1557,13 @@ class AccountManagerService {
|
|
|
1557
1557
|
}
|
|
1558
1558
|
logOut() {
|
|
1559
1559
|
return new Promise((resolve, reject) => {
|
|
1560
|
-
this._router.navigateByUrl('/home');
|
|
1561
1560
|
setTimeout(() => {
|
|
1562
1561
|
this.user.next(null);
|
|
1563
1562
|
this._token.removeToken('refreshToken');
|
|
1564
1563
|
this._token.removeToken('accessToken');
|
|
1565
1564
|
this._offline.removeUser();
|
|
1566
1565
|
this.closeSocket();
|
|
1566
|
+
this._router.navigateByUrl('/home');
|
|
1567
1567
|
resolve(true);
|
|
1568
1568
|
}, 500);
|
|
1569
1569
|
});
|
|
@@ -4577,7 +4577,6 @@ class NavbarMainComponent extends BaseComponent {
|
|
|
4577
4577
|
}
|
|
4578
4578
|
async logout() {
|
|
4579
4579
|
this._app.isLoggingOut.next(true);
|
|
4580
|
-
this._services._router.navigateByUrl('/home');
|
|
4581
4580
|
await this._services._account.logOut();
|
|
4582
4581
|
this._app.isLoggingOut.next(false);
|
|
4583
4582
|
}
|