aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-20 09:06:34 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-20 09:14:44 +0200
commit0a2a1b4b526d30ca5e95454559e1c45b8d7c1589 (patch)
tree767b48427a504f7a48a451b1aafb6beadb79dce1 /apps/files/src/components
parentbb4d7969b93c806e4f578ecc5a6d04bb6bebee73 (diff)
downloadnextcloud-server-0a2a1b4b526d30ca5e95454559e1c45b8d7c1589.tar.gz
nextcloud-server-0a2a1b4b526d30ca5e95454559e1c45b8d7c1589.zip
feat(files): expose Files router
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/src/components')
-rw-r--r--apps/files/src/components/FilesListHeaderActions.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/components/FilesListHeaderActions.vue b/apps/files/src/components/FilesListHeaderActions.vue
index b86d1f1d80b..a53a1d041bf 100644
--- a/apps/files/src/components/FilesListHeaderActions.vue
+++ b/apps/files/src/components/FilesListHeaderActions.vue
@@ -168,7 +168,7 @@ export default Vue.extend({
const results = await action.execBatch(this.nodes, this.currentView)
// Check if all actions returned null
- if (results.filter(result => result !== null).length === 0) {
+ if (!results.some(result => result !== null)) {
// If the actions returned null, we stay silent
this.selectionStore.reset()
return