Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/EditorWrapper.vue')
-rw-r--r--src/components/EditorWrapper.vue1
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) => {