info-library 2.14.48 → 2.14.49-beta.2
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.
|
@@ -8523,6 +8523,11 @@ class InfoMainComponent {
|
|
|
8523
8523
|
}
|
|
8524
8524
|
this._dataAccessService.get(this.loggeduserapi, this.loggedusermethod).subscribe(r => {
|
|
8525
8525
|
if (r.success) {
|
|
8526
|
+
if (r.data.UsuarioId == null) {
|
|
8527
|
+
this._router.navigateByUrl('permission');
|
|
8528
|
+
return;
|
|
8529
|
+
}
|
|
8530
|
+
;
|
|
8526
8531
|
this._session.UsuarioId = r.data.UsuarioId;
|
|
8527
8532
|
this._session.Usuario = r.data.Usuario;
|
|
8528
8533
|
this._session.Login = r.data.Login;
|