diff options
Diffstat (limited to 'src/components/EditorWrapper.vue')
-rw-r--r-- | src/components/EditorWrapper.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/EditorWrapper.vue b/src/components/EditorWrapper.vue index 3af227686..5e5e0398b 100644 --- a/src/components/EditorWrapper.vue +++ b/src/components/EditorWrapper.vue @@ -585,6 +585,7 @@ export default { async uploadImageFile(file) { if (!IMAGE_MIMES.includes(file.type)) { showError(t('text', 'Image file format not supported')) + return } return this.syncService.uploadImage(file).then((response) => { |