parent
d90aa3bce2
commit
8e50ec64d3
6 changed files with 21 additions and 9 deletions
|
|
@ -215,7 +215,7 @@ export default {
|
|||
},
|
||||
|
||||
userAvatarLetter() {
|
||||
if (!this.currentUser) {
|
||||
if (!this.currentUser || !this.currentUser.userId) {
|
||||
return null;
|
||||
}
|
||||
return (this.userDisplayName || this.currentUser.userId.substring(1)).substring(0, 1).toUpperCase();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue