Fixes
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good Details

2022.01
Peter Bastiani 2021-02-27 10:27:49 +01:00
parent ece6096064
commit 3673e0b349
1 changed files with 2 additions and 2 deletions

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 {