mmhglobal-dynamicform 2.44.5 → 2.44.6
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/README.md +6 -0
- package/esm2020/lib/uiheader/uiheader.component.mjs +16 -9
- package/fesm2015/mmhglobal-dynamicform.mjs +16 -8
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +15 -8
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5103,18 +5103,25 @@ class UiheaderComponent {
|
|
|
5103
5103
|
});
|
|
5104
5104
|
this.showBulletinIcon = this.zcoreService.getEnvironment().bulletinUrl ? true : false;
|
|
5105
5105
|
}
|
|
5106
|
+
else {
|
|
5107
|
+
this.username = null;
|
|
5108
|
+
this.userDisplayName = null;
|
|
5109
|
+
this.usernameInitial = null;
|
|
5110
|
+
this.profileImgUrl = null;
|
|
5111
|
+
}
|
|
5106
5112
|
this.isloading = false;
|
|
5107
5113
|
});
|
|
5108
5114
|
}
|
|
5109
5115
|
setUserProfile() {
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5116
|
+
const currentProfile = this.authService.e1Token?.myProfile;
|
|
5117
|
+
this.username = currentProfile?.UserName || null;
|
|
5118
|
+
this.userDisplayName = currentProfile?.LastName || null;
|
|
5119
|
+
this.usernameInitial = currentProfile ? this.authService.getUsernameInitial() : null;
|
|
5120
|
+
if (currentProfile) {
|
|
5121
|
+
this.authService.getUserProfileImage().subscribe(img => { this.profileImgUrl = img; });
|
|
5122
|
+
}
|
|
5123
|
+
else {
|
|
5124
|
+
this.profileImgUrl = null;
|
|
5118
5125
|
}
|
|
5119
5126
|
}
|
|
5120
5127
|
onDialItemClick(event) {
|