aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/src/components/FilesListTableHeaderActions.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files/src/components/FilesListTableHeaderActions.vue b/apps/files/src/components/FilesListTableHeaderActions.vue
index 3b364a0b83d..73b9c429a3d 100644
--- a/apps/files/src/components/FilesListTableHeaderActions.vue
+++ b/apps/files/src/components/FilesListTableHeaderActions.vue
@@ -185,6 +185,12 @@ export default Vue.extend({
.filter((fileid, index) => results[index] === false)
this.selectionStore.set(failedIds)
+ if (results.some(result => result === null)) {
+ // If some actions returned null, we assume that the dev
+ // is handling the error messages and we stay silent
+ return
+ }
+
showError(this.t('files', '"{displayName}" failed on some elements ', { displayName }))
return
}