oip-common 0.0.10 → 0.0.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/fesm2022/oip-common.mjs
CHANGED
|
@@ -1519,11 +1519,10 @@ class SecurityService extends OidcSecurityService {
|
|
|
1519
1519
|
}));
|
|
1520
1520
|
}
|
|
1521
1521
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: SecurityService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1522
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: SecurityService
|
|
1522
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: SecurityService }); }
|
|
1523
1523
|
}
|
|
1524
1524
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: SecurityService, decorators: [{
|
|
1525
|
-
type: Injectable
|
|
1526
|
-
args: [{ providedIn: 'root' }]
|
|
1525
|
+
type: Injectable
|
|
1527
1526
|
}], ctorParameters: () => [] });
|
|
1528
1527
|
|
|
1529
1528
|
/**
|
|
@@ -1550,7 +1549,7 @@ class UserService {
|
|
|
1550
1549
|
*/
|
|
1551
1550
|
get shortLabel() {
|
|
1552
1551
|
const data = this.securityService.userData;
|
|
1553
|
-
return data.given_name[0] + data.family_name[0];
|
|
1552
|
+
return (data) ? data.given_name[0] + data.family_name[0] : "";
|
|
1554
1553
|
}
|
|
1555
1554
|
get userName() {
|
|
1556
1555
|
const data = this.securityService.userData;
|