correction de tous les bugs niveaux 1 (faibles)
This commit is contained in:
parent
b5bb8e7cc4
commit
f2ced83246
26 changed files with 53 additions and 38 deletions
|
|
@ -67,7 +67,7 @@ export class PopupUpdateAdminComponent implements OnInit
|
|||
profileImageUrl: this.adminCopy.profileImageUrl,
|
||||
};
|
||||
this.messageService
|
||||
.put("user/update/"+this.profilService.id, data)
|
||||
.put("user/update/"+this.profilService.getId(), data)
|
||||
.subscribe( ret => this.onValiderCallback(ret), err => this.onValiderCallback(err) );
|
||||
}
|
||||
}
|
||||
|
|
@ -80,6 +80,7 @@ export class PopupUpdateAdminComponent implements OnInit
|
|||
this.dialogRef.close(null);
|
||||
}
|
||||
else {
|
||||
this.profilService.setProfileImageUrl(this.adminCopy.profileImageUrl);
|
||||
this.dialogRef.close(this.adminCopy);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue