|
|
|
@ -1,6 +1,5 @@
|
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
|
import {
|
|
|
|
|
AfterViewInit,
|
|
|
|
|
Component,
|
|
|
|
|
Input,
|
|
|
|
|
OnInit,
|
|
|
|
@ -193,7 +192,6 @@ export class AddPinPopupComponent implements OnInit {
|
|
|
|
|
this.uploadError = file.name + ' : ' + 'Image vide';
|
|
|
|
|
return of(null);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return this.imageService.postImage(file).pipe(
|
|
|
|
|
catchError(error => {
|
|
|
|
|
this.uploadError = file.name + ' : ' + error.error.detail || 'Erreur lors de l\'upload de l\'image';
|
|
|
|
|