diff --git a/ui/src/components/header/UserMenu.vue b/ui/src/components/header/UserMenu.vue index 24b63ead5d4..1b3bb7113f6 100644 --- a/ui/src/components/header/UserMenu.vue +++ b/ui/src/components/header/UserMenu.vue @@ -29,7 +29,10 @@ - + + {{ userInitials }} + + {{ nickname() }} @@ -85,10 +88,13 @@ export default { data () { return { image: '', + userInitials: '', countNotify: 0 } }, created () { + this.userInitials = (this.$store.getters.userInfo.firstname.toUpperCase().charAt(0) || '') + + (this.$store.getters.userInfo.lastname.toUpperCase().charAt(0) || '') this.getIcon() eventBus.$on('refresh-header', () => { this.getIcon()