|
|
|
@ -84,7 +84,7 @@ export class AvatarUploadFormComponent implements OnInit { |
|
|
|
|
public uploadAvatar(evt:Event) { |
|
|
|
|
evt.preventDefault(); |
|
|
|
|
this.busy = true; |
|
|
|
|
const upload = this.opFileUpload.uploadSingle(this.target, this.avatarFile, this.method); |
|
|
|
|
const upload = this.opFileUpload.uploadSingle(this.target, this.avatarFile, this.method, 'text'); |
|
|
|
|
this.notificationsService.addWorkPackageUpload(this.text.uploading, [upload]); |
|
|
|
|
|
|
|
|
|
upload[1].subscribe( |
|
|
|
|