oip-common 0.0.11 → 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.
@@ -1549,7 +1549,7 @@ class UserService {
1549
1549
  */
1550
1550
  get shortLabel() {
1551
1551
  const data = this.securityService.userData;
1552
- return data.given_name[0] + data.family_name[0];
1552
+ return (data) ? data.given_name[0] + data.family_name[0] : "";
1553
1553
  }
1554
1554
  get userName() {
1555
1555
  const data = this.securityService.userData;