perbaikan profil data
This commit is contained in:
@@ -16,7 +16,7 @@ export class ProfilInformationComponent {
|
||||
storedData: any;
|
||||
disableButton: boolean = false
|
||||
|
||||
url: any = '';
|
||||
url: any = 'https://www.w3schools.com/howto/img_avatar.png';
|
||||
fileSelected: any = null;
|
||||
|
||||
constructor(
|
||||
@@ -46,9 +46,10 @@ export class ProfilInformationComponent {
|
||||
phone: data.data.phone,
|
||||
image: [null]
|
||||
});
|
||||
this.url = data.data.image_path
|
||||
if (data.data.image_path !== "https://kapi.absys.ninja/hemat/image/null") {
|
||||
this.url = data.data.image_path
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
onSelectFile(event) {
|
||||
|
||||
Reference in New Issue
Block a user