Fixes
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Peter Bastiani 2021-02-27 10:27:49 +01:00
parent ece6096064
commit 3673e0b349

View File

@ -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 {