Compare commits
2 Commits
b9ee39399c
...
e62c185f35
Author | SHA1 | Date | |
---|---|---|---|
e62c185f35 | |||
f81b16b966 |
@ -40,7 +40,6 @@ export class AvatarComponent implements OnInit {
|
|||||||
|
|
||||||
refresh(user: IUser) {
|
refresh(user: IUser) {
|
||||||
if (!user) return null;
|
if (!user) return null;
|
||||||
debugger;
|
|
||||||
const apiEndpoint = this.appConfig.getConfig("apiEndPoint");
|
const apiEndpoint = this.appConfig.getConfig("apiEndPoint");
|
||||||
this.src = `${apiEndpoint}/api/v1/users/${user.code}/avatar`;
|
this.src = `${apiEndpoint}/api/v1/users/${user.code}/avatar`;
|
||||||
this.name = user.firstName && user.lastName ?
|
this.name = user.firstName && user.lastName ?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user