MOBILE-3523 user-avatar: Fix unclosed parenthesis

main
Pau Ferrer Ocaña 2020-09-22 14:40:39 +02:00
parent e4b2e8b3c3
commit 22d4ba9176
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ export class CoreUserAvatarComponent implements OnInit, OnChanges, OnDestroy {
*/ */
protected setFields(): void { protected setFields(): void {
const profileUrl = this.profileUrl || (this.user && (this.user.profileimageurl || this.user.userprofileimageurl || const profileUrl = this.profileUrl || (this.user && (this.user.profileimageurl || this.user.userprofileimageurl ||
this.user.userpictureurl || this.user.profileimageurlsmall || (this.user.urls && this.user.urls.profileimage)); this.user.userpictureurl || this.user.profileimageurlsmall || (this.user.urls && this.user.urls.profileimage)));
if (typeof profileUrl == 'string') { if (typeof profileUrl == 'string') {
this.avatarUrl = profileUrl; this.avatarUrl = profileUrl;