diff --git a/src/app/core/entity-components/entity-utils/dynamic-form-components/edit-photo/edit-photo.component.html b/src/app/core/entity-components/entity-utils/dynamic-form-components/edit-photo/edit-photo.component.html index 6fcaba157a..04f4c482a9 100644 --- a/src/app/core/entity-components/entity-utils/dynamic-form-components/edit-photo/edit-photo.component.html +++ b/src/app/core/entity-components/entity-utils/dynamic-form-components/edit-photo/edit-photo.component.html @@ -2,6 +2,7 @@ type="file" style="display: none" (change)="onFileSelected($event.target['files'][0])" + accept="image/*" #fileUpload > profile photo diff --git a/src/app/core/entity-components/entity-utils/dynamic-form-components/edit-photo/edit-photo.component.ts b/src/app/core/entity-components/entity-utils/dynamic-form-components/edit-photo/edit-photo.component.ts index 20fee5f388..368a72c14f 100644 --- a/src/app/core/entity-components/entity-utils/dynamic-form-components/edit-photo/edit-photo.component.ts +++ b/src/app/core/entity-components/entity-utils/dynamic-form-components/edit-photo/edit-photo.component.ts @@ -45,7 +45,6 @@ export class EditPhotoComponent extends EditFileComponent { lastModified: file.lastModified, }); await super.onFileSelected(reducedFile); - this.alertService.addInfo("info " + JSON.stringify(file)); } ngOnInit() {