Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/components/widgets/forms/image-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ export default class ImageUpload extends Component {
})
.catch(e => {
console.error('Error while uploading and setting image URL', e);
this.notify.error(this.l10n.t('Error while uploading and setting image URL'));
this.set('uploadingImage', false);
this.set('errorMessage', this.i18n.t('An unexpected error has occurred.'));
this.set('selectedImage', null);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why

});
}

Expand Down