diff --git a/apps/files/src/components/FilesAppBar.vue b/apps/files/src/components/FilesAppBar.vue
index 3acba19e566..9bcd5e422cb 100644
--- a/apps/files/src/components/FilesAppBar.vue
+++ b/apps/files/src/components/FilesAppBar.vue
@@ -2,7 +2,7 @@
-
+
@@ -27,11 +27,10 @@
ref="globalSearchBar"
/>
-
-
+
+
+ Delete selected
+
0) ||
(this.currentFolder && this.currentFolder.permissions.indexOf('M') >= 0) ||
this.publicPage()
+ },
+
+ displayBulkActions () {
+ return this.$route.meta.hasBulkActions && this.selectedFiles.length > 0
}
},
watch: {
- // This ensures buttons will display with its right icons, values, etc.
- // TODO: Find a better solution
$route (to, from) {
- this.actionsKey = Math.floor(Math.random() * 20)
// note: the search bars are not available on all views
if (this.$refs.mobileSearch) {
this.$refs.mobileSearch.value = null
diff --git a/changelog/unreleased/3011 b/changelog/unreleased/3011
new file mode 100644
index 00000000000..1f4db404470
--- /dev/null
+++ b/changelog/unreleased/3011
@@ -0,0 +1,6 @@
+Bugfix: Responsive buttons layout in app bar when multiple files are selected
+
+We've fixed the responsive buttons layout in files app bar when multiple files are selected where bulk actions where overlapping and height of the buttons was increased.
+
+https://github.com/owncloud/phoenix/issues/3011
+https://github.com/owncloud/phoenix/pull/3083
\ No newline at end of file