MOBILE-3523 user-avatar: Fix unclosed parenthesis
parent
e4b2e8b3c3
commit
22d4ba9176
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue