Work on image uploading

Issue #82
This commit is contained in:
N-Pex 2021-03-10 13:40:32 +01:00
parent d90aa3bce2
commit 8e50ec64d3
6 changed files with 21 additions and 9 deletions

View file

@ -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();