This commit is contained in:
parent
ece6096064
commit
3673e0b349
@ -13,7 +13,7 @@ export class AvatarComponent implements OnInit {
|
|||||||
@Input() bgColor: string;
|
@Input() bgColor: string;
|
||||||
@Input() fgColor: string;
|
@Input() fgColor: string;
|
||||||
@Input() size: number;
|
@Input() size: number;
|
||||||
@Input() round: boolean;
|
@Input() round: boolean = true;
|
||||||
|
|
||||||
@Output() click = new EventEmitter();
|
@Output() click = new EventEmitter();
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ export class AvatarComponent implements OnInit {
|
|||||||
getAvatar():string {
|
getAvatar():string {
|
||||||
if (!this.user) return null;
|
if (!this.user) return null;
|
||||||
const apiEndpoint = this.appConfig.getConfig("apiEndPoint");
|
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 {
|
getName():string {
|
||||||
|
Loading…
Reference in New Issue
Block a user