From 3673e0b349731003bedc696ac63f84aec0549f91 Mon Sep 17 00:00:00 2001 From: Peter Bastiani Date: Sat, 27 Feb 2021 10:27:49 +0100 Subject: [PATCH] Fixes --- projects/common/src/fm/components/avatar/avatar.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/common/src/fm/components/avatar/avatar.component.ts b/projects/common/src/fm/components/avatar/avatar.component.ts index e6b6510..4b323cb 100644 --- a/projects/common/src/fm/components/avatar/avatar.component.ts +++ b/projects/common/src/fm/components/avatar/avatar.component.ts @@ -13,7 +13,7 @@ export class AvatarComponent implements OnInit { @Input() bgColor: string; @Input() fgColor: string; @Input() size: number; - @Input() round: boolean; + @Input() round: boolean = true; @Output() click = new EventEmitter(); @@ -26,7 +26,7 @@ export class AvatarComponent implements OnInit { getAvatar():string { if (!this.user) return null; const apiEndpoint = this.appConfig.getConfig("apiEndPoint"); - return `${apiEndpoint}/api/v1/users//${this.user.code}/avatar`; + return `${apiEndpoint}/api/v1/users/${this.user.code}/avatar`; } getName():string {